Git Product home page Git Product logo

Comments (17)

kategengler avatar kategengler commented on July 23, 2024 1

#57 seems similar

from ember-cli-code-coverage.

Cryrivers avatar Cryrivers commented on July 23, 2024 1

we are running into the same issue.

Ember CLI: 2.8.0
Running COVERAGE=true ember test

However, running COVERAGE=true ember test --server works.

from ember-cli-code-coverage.

rwjblue avatar rwjblue commented on July 23, 2024

Using phantom? Mocha? Sounds conceptually similar to #32 (in that it sounds related to reading the posted coverage payload).

from ember-cli-code-coverage.

kellyselden avatar kellyselden commented on July 23, 2024

phantom and qunit

from ember-cli-code-coverage.

tylergets avatar tylergets commented on July 23, 2024

Having the same issue.

from ember-cli-code-coverage.

denchen avatar denchen commented on July 23, 2024

I'm seeing the same issue too. I've tried 0.3.1 and 0.3.2, and I get that request aborted message, and there is no /coverage/ directory. I am using [email protected] with this passthrough in /mirage/config.js:

  this.passthrough('/write-coverage');

I went down to 0.2.2 and everything seems to work, and I get coverage information.

from ember-cli-code-coverage.

nathanpalmer avatar nathanpalmer commented on July 23, 2024

We're running into something similar. Getting timeouts on 0.3.2. Downgraded to 0.2.2 and it's working fine. We also use ember-cli-mirage@(roughly 0.2.2).

from ember-cli-code-coverage.

joshsmith avatar joshsmith commented on July 23, 2024

Also having the same issue, using Mirage with the passthrough.

from ember-cli-code-coverage.

baseballlover723 avatar baseballlover723 commented on July 23, 2024

having the same issue on one of my projects using 0.3.2. Whats weird is that it only sometimes (~50%) happens and only on codeship. I can't reproduce this locally. Downgrading to 0.2.2 seems to of fixed it

from ember-cli-code-coverage.

JoannaFalkowska avatar JoannaFalkowska commented on July 23, 2024

This happens to me as well 50% of the time on Codeship. I'm using Phantom.

There was similar issue for Blanket: sglanzer-deprecated/ember-cli-blanket#112. It seems that making the request to /write-coverage synchronous might help. Now if I only knew what to change in my code to try it out.

from ember-cli-code-coverage.

kategengler avatar kategengler commented on July 23, 2024

The request did change from being sync to async in this commit f2ba0e8#diff-94eab975fb48e219fc130d82e21457ac

However, I have a hunch that this is related to testem version and the fact that a synchronous request fixes it is a patch over the problem, rather than the solution.

For anybody seeing this issue, could you please provide:

  • Your ember-cli version
  • Whether you're running ember test ember test -s or navigating to /tests

from ember-cli-code-coverage.

chrisvdp avatar chrisvdp commented on July 23, 2024

"ember-cli": "^2.8.0"
running COVERAGE=true $(npm bin)/ember test in CI

from ember-cli-code-coverage.

adhamhf avatar adhamhf commented on July 23, 2024

"ember-cli": "2.8.0",
"ember-cli-code-coverage": "^0.3.6",
COVERAGE=true ember test --launch phantomjs fails
COVERAGE=true ember test --server works

from ember-cli-code-coverage.

andrew-zenefits avatar andrew-zenefits commented on July 23, 2024

"ember-cli": 2.4.3,
"ember-cli-code-coverage": "^0.3.8",

COVERAGE=true ember t fails
COVERAGE=true ember t -s works (meaning it will update the /coverage/* files

from ember-cli-code-coverage.

ethanrubio avatar ethanrubio commented on July 23, 2024

Same issue here on circleci. It works locally, however.

"ember-cli": "2.10.0",
"ember-cli-code-coverage": "^0.3.8",

COVERAGE=true ember test fails

from ember-cli-code-coverage.

wagenet avatar wagenet commented on July 23, 2024

Appears to be fixed by #82

from ember-cli-code-coverage.

kellyselden avatar kellyselden commented on July 23, 2024

Just tried it out. Works for me!

from ember-cli-code-coverage.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.