diff options
author | daurnimator <quae@daurnimator.com> | 2018-04-02 22:44:25 +1000 |
---|---|---|
committer | daurnimator <quae@daurnimator.com> | 2018-04-14 16:52:26 +1000 |
commit | ce9fd9bdca0caa6a33ce37a01f41593ca42ba95b (patch) | |
tree | 946b66efd1f265c9ccb143b61d6c480929267673 /package.json | |
parent | d67a6ab6688d315f521b3a2ebc0e018969213b21 (diff) | |
download | fengari-ce9fd9bdca0caa6a33ce37a01f41593ca42ba95b.tar.gz fengari-ce9fd9bdca0caa6a33ce37a01f41593ca42ba95b.tar.bz2 fengari-ce9fd9bdca0caa6a33ce37a01f41593ca42ba95b.zip |
Start moving test suite from tape => jest
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/package.json b/package.json index 7f645e2..54883c4 100644 --- a/package.json +++ b/package.json @@ -5,12 +5,12 @@ "main": "src/fengari.js", "directories": { "lib": "src", - "test": "tests" + "test": "test" }, "scripts": { - "lint": "eslint src/ tests/", + "lint": "eslint src/ test/", "prepublishOnly": "git diff-index --quiet --cached HEAD -- && npm run lint && npm run test", - "test": "tape tests/*.js tests/test-suite/*.js | faucet" + "test": "jest && (tape test/test-suite/*.js | faucet)" }, "repository": { "type": "git", @@ -32,6 +32,7 @@ "devDependencies": { "eslint": "^4.19.1", "faucet": "^0.0.1", + "jest": "^22.4.3", "tape": "^4.9.0" }, "dependencies": { @@ -78,6 +79,16 @@ "error", "always" ] - } + }, + "overrides": [ + { + "files": [ + "test/**/*.test.js" + ], + "env": { + "jest": true + } + } + ] } } |