mocha-headless-chrome
Advanced tools
Comparing version 1.8.3 to 2.0.0
{ | ||
"name": "mocha-headless-chrome", | ||
"version": "1.8.3", | ||
"version": "2.0.0", | ||
"description": "Run client-side mocha tests in the command line through headless Chrome", | ||
"main": "runner.js", | ||
"main": "./lib/runner.js", | ||
"typings": "./lib/runner.d.ts", | ||
"bin": "./bin/start", | ||
@@ -11,3 +12,4 @@ "engines": { | ||
"scripts": { | ||
"start": "node cli -f example-page.html -o result.json -w 801 -H 501 -r nyan" | ||
"start": "node lib/cli -f ./example/example-page.html -o ./result/result.json -c ./result/coverage.json -w 801 -H 501 -r nyan", | ||
"ts": "tsc ./example/example.ts && node ./example/example.js" | ||
}, | ||
@@ -32,4 +34,5 @@ "repository": { | ||
"dependencies": { | ||
"args": "^3.0.7", | ||
"puppeteer": "^1.2.0" | ||
"args": "^4.0.0", | ||
"mkdirp": "^0.5.1", | ||
"puppeteer": "^1.3.0" | ||
}, | ||
@@ -36,0 +39,0 @@ "devDependencies": { |
@@ -20,3 +20,3 @@ # mocha-headless-chrome | ||
Then prepare the test page (see [the example](example-page.html)). | ||
Then prepare the test page (see [the example](example/example-page.html)). | ||
@@ -85,3 +85,3 @@ *Note. It is necessary to add the **<meta charset="utf-8">** tag. Otherwise browser may use another encoding and test results will be shown incorrectly.* | ||
```js | ||
const runner = require('mocha-headless-chrome'); | ||
const {runner} = require('mocha-headless-chrome'); | ||
@@ -106,2 +106,3 @@ const options = { | ||
See also the [TypeScript example](./example/example.ts). | ||
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
35880
10
866
106
3
1
+ Addedmkdirp@^0.5.1
+ Addedargs@4.0.0(transitive)
+ Addedcamelcase@5.0.0(transitive)
+ Addedchalk@2.3.2(transitive)
+ Addedhas-flag@3.0.0(transitive)
+ Addedleven@2.1.0(transitive)
+ Addedsupports-color@5.5.0(transitive)
- Removedargs@3.0.8(transitive)
- Removedcamelcase@4.1.0(transitive)
- Removedchalk@2.1.0(transitive)
- Removedhas-flag@2.0.0(transitive)
- Removedlodash@4.17.21(transitive)
- Removedpkginfo@0.4.1(transitive)
- Removedstring-similarity@1.2.0(transitive)
- Removedsupports-color@4.5.0(transitive)
Updatedargs@^4.0.0
Updatedpuppeteer@^1.3.0