mirror of
https://github.com/janishutz/color-thief.git
synced 2025-11-25 13:54:25 +00:00
test: Add node tests with Mocha and Chai
This commit is contained in:
@@ -31,15 +31,20 @@
|
||||
"build": "microbundle; node ./build/build.js",
|
||||
"watch": "microbundle watch",
|
||||
"dev": " ./node_modules/http-server/bin/http-server",
|
||||
"test": "./node_modules/.bin/cypress open"
|
||||
"test": "mocha; ./node_modules/.bin/cypress run --config video=false",
|
||||
"test:browser": "./node_modules/.bin/cypress open",
|
||||
"test:node": "mocha"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@node-minify/core": "^4.0.5",
|
||||
"@node-minify/uglify-es": "^4.0.5",
|
||||
"chai": "^4.2.0",
|
||||
"chai-as-promised": "^7.1.1",
|
||||
"cypress": "^3.4.0",
|
||||
"eslint": "^5.16.0",
|
||||
"http-server": "^0.11.1",
|
||||
"microbundle": "^0.11.0",
|
||||
"mocha": "^6.2.0",
|
||||
"mustache": "^3.0.1"
|
||||
},
|
||||
"dependencies": {
|
||||
|
||||
Reference in New Issue
Block a user