headless-test
Version:
Run Mocha tests in a headless browser
30 lines (29 loc) • 777 B
JSON
{
"version": "1.0.3",
"main": "index.js",
"bin": "run.js",
"name": "headless-test",
"description": "Run Mocha tests in a headless browser",
"repository": "https://github.com/samthor/headless-test",
"author": "Sam Thorogood <sam.thorogood@gmail.com>",
"license": "Apache-2.0",
"private": false,
"dependencies": {
"chai": "^4",
"chalk": "^3.0.0",
"dhost": "^0.1.9",
"mocha": "^7",
"mri": "^1",
"puppeteer": "^2"
},
"devDependencies": {
"npm-run-all": "^4.1.5",
"polka": "^0.5.2"
},
"scripts": {
"test": "npm-run-all --parallel test:cli-pass test:cli-fail test:api",
"test:cli-pass": "./run.js test/suite-pass.js",
"test:cli-fail": "! ./run.js test/suite-fail.js",
"test:api": "./test/test-api.js"
}
}