Comments (5)
Daniels-MacBook-Pro:haakon-core dmartinez$ npm install [email protected]
[email protected] node_modules/jasmine
├── [email protected]
└── [email protected] ([email protected], [email protected])
Daniels-MacBook-Pro:haakon-core dmartinez$ ./node_modules/.bin/istanbul cover -x 'spec/support/**' ./spec/support/runner.js
Failed to load c++ bson extension, using pure JS version
Started
..................................
34 specs, 0 failures
Finished in 0.052 seconds
=============================================================================
Writing coverage object [/Users/dmartinez/source/haakon-core/coverage/coverage.json]
Writing coverage reports at [/Users/dmartinez/source/haakon-core/coverage]
=============================================================================
=============================== Coverage summary ===============================
Statements : 100% ( 469/469 )
Branches : 100% ( 0/0 )
Functions : 100% ( 155/155 )
Lines : 100% ( 469/469 )
================================================================================
Daniels-MacBook-Pro:haakon-core dmartinez$ npm uninstall jasmine
unbuild [email protected]
Daniels-MacBook-Pro:haakon-core dmartinez$ npm install [email protected]
[email protected] node_modules/jasmine
├── [email protected]
├── [email protected]
└── [email protected] ([email protected], [email protected])
Daniels-MacBook-Pro:haakon-core dmartinez$ ./node_modules/.bin/istanbul cover -x 'spec/support/**' ./spec/support/runner.js
Failed to load c++ bson extension, using pure JS version
Started
..................................
34 specs, 0 failures
Finished in 0.048 seconds
Daniels-MacBook-Pro:haakon-core dmartinez$
from jasmine-npm.
Interesting, the only change between 2.2.0 and 2.2.1 is the introduction of the exit module to allow jasmine to properly wait for stdout to flush on windows when run stdout is being piped.
That said, I think this has kind of problem has been fixed on master. We're now doing a better job of making sure that the reporter that causes the process to exit is the last reporter to run at the end of the suite. If you have a chance to check it out, I'd like to know if this fixes your issue as well.
Thanks for using jasmine!
from jasmine-npm.
@slackersoft I gave master a shot and it seems to still be an issue :/
Daniels-MacBook-Pro:haakon-core dmartinez$ npm install [email protected]
[email protected] node_modules/jasmine
├── [email protected]
└── [email protected] ([email protected], [email protected])
Daniels-MacBook-Pro:haakon-core dmartinez$ npm run test
> [email protected] test /Users/dmartinez/source/haakon-core
> istanbul cover ./spec/support/runner.js
Failed to load c++ bson extension, using pure JS version
Started
....................................
36 specs, 0 failures
Finished in 0.058 seconds
=============================================================================
Writing coverage object [/Users/dmartinez/source/haakon-core/coverage/coverage.json]
Writing coverage reports at [/Users/dmartinez/source/haakon-core/coverage]
=============================================================================
=============================== Coverage summary ===============================
Statements : 100% ( 515/515 )
Branches : 100% ( 0/0 )
Functions : 100% ( 170/170 )
Lines : 100% ( 515/515 )
================================================================================
Daniels-MacBook-Pro:haakon-core dmartinez$ npm uninstall jasmine
unbuild [email protected]
Daniels-MacBook-Pro:haakon-core dmartinez$ npm install git+https://github.com/jasmine/jasmine-npm.git
[email protected] node_modules/jasmine
├── [email protected]
├── [email protected]
└── [email protected] ([email protected], [email protected])
Daniels-MacBook-Pro:haakon-core dmartinez$ npm run test
> [email protected] test /Users/dmartinez/source/haakon-core
> istanbul cover ./spec/support/runner.js
Failed to load c++ bson extension, using pure JS version
Started
....................................
36 specs, 0 failures
Finished in 0.058 seconds
Daniels-MacBook-Pro:haakon-core dmartinez$
from jasmine-npm.
After a bit more digging, it looks like the exit module that we started using to fix #20 also has another windows specific fix for making sure the error code is set properly that is probably causing this.
We're looking into a better solution that ensures proper error codes and works with piped output on windows. We'd also be happy to review a pull request that solves this issue.
from jasmine-npm.
Fixed with 97c67d5
from jasmine-npm.
Related Issues (20)
- jasmine flags, oneFailurePerSpec and stopSpecOnExpectationFailure don't work well HOT 2
- RFC: Well-defined public API HOT 1
- Can't get Jasmine 4 to support .jsx files HOT 7
- Failed to load reporter module jasmine 4.x HOT 1
- Jasmine loads test dependency as CommonJS module instead of ESM HOT 2
- Export Loader HOT 2
- getting an error jasmine.getEnv is not a function HOT 2
- Unable to find specs when using [email protected] HOT 2
- Consider using child_process.fork() to parallelize Jasmine runs HOT 28
- Jasmine 4 ES Modules / Dynamic Import Doesn't Work with Paths that Have Encoded Slashes HOT 4
- jasmine --helper flag broken following addHelperFiles() removal
- --reporter does not work with namespaced modules HOT 4
- Feature Request: Allow re-running test suites without restarting HOT 2
- Package subpath './lib/command.js' is not defined by "exports" using jasmine-xml-reporter HOT 1
- Vulnerabilities found on latest version of Jasmine(4.6.0) HOT 1
- Problem excluding files HOT 4
- Project base dirs containing special Glob syntax don't work HOT 1
- Regression in jasmine 5: settings bleed over to next `Jasmine` instance HOT 4
- `--require` fails with `runner.addRequires is not a function` in 5.x HOT 1
- Add a `--verbose` flag HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jasmine-npm.