Unit test breaks when importing NgxEditorModule
See original GitHub issueI’m submitting a
- Regression (a behavior that used to work and stopped working in a new release)
- [x ] Bug report
- Enhancement
- Feature request
- Documentation issue or request
Description
Unit testing is not possible inside Angular 6 App, when importing the NgxEditorModule into the TestBed I get an error “Can’t resolve all parameters for ComponentLoaderFactory”
Version Information
ngx-editor: 3.3.0
angular: 6.0.4
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (1 by maintainers)
Top Results From Across the Web
Unit test breaks when importing NgxEditorModule #149
I'm submitting a. Regression (a behavior that used to work and stopped working in a new release); [x ] Bug report; Enhancement
Read more >Angular how not to import all the dependencies in ...
Your tests are Independent from your app.module. So you need to import all needed modules. If you want, you can do a shared.module.ts...
Read more >How to Write Unit Tests for Python Functions
This guide will teach you how to write unit tests for Python functions. But why should you consider writing unit tests at all?...
Read more >Python Unit Testing: Best Practices to Follow
What are some of the best practices for Python unit testing? Let's break it down, including the finer points of dependencies and more....
Read more >Fixing Angular unit testing errors with ... - Saints at Play
Import the CUSTOM_ELEMENTS_SCHEMA into the unit testing module; Declare the CUSTOM_ELEMENTS_SCHEMA within the configureTestingModule schemas.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
This version for Angular 5 only, not for 6+. Search GitHub for 6+ version or waiting for updated version.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in the thread.