4

In my Angular app, when running test cases I suddenly got the below error in one of the components that were not even changed or modified with the current check-in into SVN.

Error says: HeadlessChrome ERROR: 'Error during cleanup of component'

I see my blogs that there is some problem in ngOnDestroy and unsubscribe I am not able to figure out which component is likely failing. Any help is appreciated

1 Answer 1

4

Try destroying the component fixture in afterAll hooks and check whether it helps.

afterAll(() => {
    fixture.destroy();
  });
Sign up to request clarification or add additional context in comments.

1 Comment

it didn't help.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.