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.

Called start() outside of a test context

See original GitHub issue

Not sure if this belongs here or somewhere else, but I’m running into this error while using ember-qunit 0.2.8. When running tests in ember-cli, I’m getting a JSHint global error:

JSHint - views: global failure
Uncaught Error: Called start() outside of a test context while already started
Source: http://localhost:4200/assets/test-support.js:2559

Any suggestions for troubleshooting this?

Issue Analytics

  • State:closed
  • Created 9 years ago
  • Comments:11 (4 by maintainers)

github_iconTop GitHub Comments

12reactions
dknutsencommented, Sep 23, 2016

If it helps anyone, we just started having this issue and in our case it was caused by ember-cli-blanket which is currently broken with qunit >= 2.2.2. See the blanket issue for details.

This issue was also hiding/breaking the “Module” dropdown on the localhost:4200/tests page, which was weird.

The temporary solution, as an alternative to removing blanket entirely, is to change autostart to false in the blanket options.

1reaction
dknutsencommented, Dec 1, 2016

@workmanw yeah it took me a long time to narrow it down, glad I could spare someone else that pain

Read more comments on GitHub >

github_iconTop Results From Across the Web

Running QUnit (TypeScript) tests with Chutzpah gives "Called ...
Running QUnit (TypeScript) tests with Chutzpah gives "Called start() outside of a test context while already started" · javascript · visual-studio ...
Read more >
Queueable apex still executes in test context even if Enqueue ...
Queueable apex still executes in test context even if Enqueue Job is not called between Test. startTest() and Test. stopTest() - Salesforce ...
Read more >
Testing - Spring
TestSocketUtils is a simple utility for finding available TCP ports on localhost for use in integration testing scenarios. TestSocketUtils can ...
Read more >
Testing Apollo Client Applications - Apollo GraphQL Blog
Start at the very outer boundary of the application — and in the context of a client-side web application, that usually means starting...
Read more >
The Testing Context - .NET Core Tutorials
That is, if they are testing one particular class, let's say ServiceA, and that has a method that calls ServiceB. Your test actually...
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