question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unit test breaks when importing NgxEditorModule

See original GitHub issue

I’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:closed
  • Created 5 years ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
kolkovcommented, Jul 24, 2018

This version for Angular 5 only, not for 6+. Search GitHub for 6+ version or waiting for updated version.

0reactions
github-actions[bot]commented, May 22, 2022

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found