Socket
Socket
Sign inDemoInstall

jasmine-dom

Package Overview
Dependencies
53
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.3.0 to 0.3.1

4

lib/jasmine-dom/index.js

@@ -39,3 +39,3 @@ var fs = require('fs'),

console.error("I don't have any tests to run!");
process.exit(1);
throw Error('I don`t have any tests to run!');
}

@@ -171,3 +171,3 @@ }

console.error("An error occurred while running the tests. Use the --debug switch to find out more.");
exit(1);
throw Error('An error occurred while running the tests. Use the --debug switch to find out more.');
}

@@ -174,0 +174,0 @@ });

@@ -31,3 +31,3 @@ function Runner( options ){

console.debug(errors);
process.exit(1);
throw Error('Error when constructing DOM to get script paths for runner.');
}

@@ -80,3 +80,3 @@

console.debug(errors);
exit(1);
throw Error('Error when constructing DOM for runner.');
}

@@ -83,0 +83,0 @@

{
"name" : "jasmine-dom"
, "version" : "0.3.0"
, "version" : "0.3.1"

@@ -5,0 +5,0 @@ , "description" : "Run your jasmine html SpecRunner in node.js."

@@ -33,3 +33,4 @@ node-jasmine-dom

the tests (because the server is constantly running 'em).
* <code>--routeconsole</code>, calls to window.console.log (or error, warn, info) will be displayed in the console
* <code>--routeconsole</code>, calls to window.console.log (or error, warn, info) within the tests / tested code
will be displayed in the terminal output

@@ -119,6 +120,34 @@ server

Failed:
- In Example test two >> Example functions (some more) >> Should fail!! :: Expected false to be truthy.
- In Example test one >> Example functions >> Should fail!! :: Expected 3 to equal 8.
====== FAILED ======
- In A suite that fails >> Example functions (should fail) >> Should fail!! :: Expected 3 to equal 8.
example 4
---------
jasmine-dom --config ./examples/config.yaml --format detailed
will output:
====== FAILED ======
Example functions (should fail) - 2 tests
PASSES
- Should multiply two numbers
FAILURES
- Should fail!!
[Expected 3 to equal 8.]
Example functions that update the DOM - 2 tests
PASSES
- Should add two numbers
- Should divide two numbers
FAILURES
(none)
====== FAILED ======
changelog
---------
0.3.0 - 22-12-2012 - Added 'detailed' report format. Made examples a bit clearer.
have you seen **[jasmine-node][5]**?

@@ -125,0 +154,0 @@ ------------------------------------

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc