Remove test package
This commit is contained in:
parent
3fea905be4
commit
498de135cb
|
@ -65,6 +65,7 @@
|
||||||
"node/no-unpublished-require": [0],
|
"node/no-unpublished-require": [0],
|
||||||
"no-process-exit": [0],
|
"no-process-exit": [0],
|
||||||
"linebreak-style": [0],
|
"linebreak-style": [0],
|
||||||
|
"node/no-missing-require": [0],
|
||||||
"no-console": [0]
|
"no-console": [0]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -17,5 +17,5 @@ jobs:
|
||||||
- uses: actions/setup-node@v1
|
- uses: actions/setup-node@v1
|
||||||
with:
|
with:
|
||||||
node-version: 14.16.0
|
node-version: 14.16.0
|
||||||
- run: npm run test-install
|
- run: npm ci
|
||||||
- run: npm run eslint
|
- run: npm run eslint
|
||||||
|
|
|
@ -21,5 +21,6 @@ jobs:
|
||||||
- uses: actions/setup-node@v1
|
- uses: actions/setup-node@v1
|
||||||
with:
|
with:
|
||||||
node-version: 14.16.0
|
node-version: 14.16.0
|
||||||
- run: npm run test-install
|
- run: npm ci
|
||||||
|
- run: npm run test-build
|
||||||
- run: npm run test-ci
|
- run: npm run test-ci
|
||||||
|
|
20
.travis.yml
20
.travis.yml
|
@ -1,20 +0,0 @@
|
||||||
language: node_js
|
|
||||||
|
|
||||||
node_js:
|
|
||||||
- "12.13.0"
|
|
||||||
|
|
||||||
|
|
||||||
matrix:
|
|
||||||
include:
|
|
||||||
- name: "Linux"
|
|
||||||
os: linux
|
|
||||||
dist: xenial
|
|
||||||
sudo: false
|
|
||||||
- name: "MacOS"
|
|
||||||
os: osx
|
|
||||||
- name: "Windows"
|
|
||||||
os: windows
|
|
||||||
|
|
||||||
install:
|
|
||||||
- cd test
|
|
||||||
- npm ci
|
|
File diff suppressed because it is too large
Load Diff
31
package.json
31
package.json
|
@ -41,10 +41,26 @@
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"eslint": "eslint .",
|
"eslint": "eslint .",
|
||||||
"test": "cd test && npm run test && cd ..",
|
"test": "jest --coverage=false --watch",
|
||||||
"test-ci": "cd test && npm run test-ci && cd ..",
|
"test-ci": "jest --coverage=false --verbose",
|
||||||
"test-install": "cd test && npm ci && cd ..",
|
"test-coverage": "rm -rf doc/jest && jest --coverage --silent",
|
||||||
"test-coverage": "cd test && npm run coverage && cd .."
|
"test-build": "cd test && node-gyp rebuild && cd .."
|
||||||
|
},
|
||||||
|
"jest": {
|
||||||
|
"moduleFileExtensions": [
|
||||||
|
"js"
|
||||||
|
],
|
||||||
|
"testMatch": [
|
||||||
|
"**/*.test.js"
|
||||||
|
],
|
||||||
|
"coverageDirectory": "doc/jest",
|
||||||
|
"coverageReporters": [
|
||||||
|
"lcov"
|
||||||
|
],
|
||||||
|
"collectCoverageFrom": [
|
||||||
|
"**/*.js",
|
||||||
|
"!**/*.test.js"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
@ -55,8 +71,9 @@
|
||||||
"node-addon-api": "3.1.0"
|
"node-addon-api": "3.1.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"eslint": "^7.23.0",
|
"eslint": "7.23.0",
|
||||||
"eslint-plugin-jest": "^24.3.3",
|
"eslint-plugin-jest": "24.3.3",
|
||||||
"eslint-plugin-node": "^11.1.0"
|
"eslint-plugin-node": "11.1.0",
|
||||||
|
"jest": "26.6.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -1,31 +0,0 @@
|
||||||
{
|
|
||||||
"name": "test",
|
|
||||||
"version": "0.0.0",
|
|
||||||
"private": true,
|
|
||||||
"jest": {
|
|
||||||
"moduleFileExtensions": [
|
|
||||||
"js"
|
|
||||||
],
|
|
||||||
"testMatch": [
|
|
||||||
"./**/*.test.js"
|
|
||||||
],
|
|
||||||
"coverageDirectory": "../doc/jest",
|
|
||||||
"coverageReporters": [
|
|
||||||
"lcov"
|
|
||||||
],
|
|
||||||
"collectCoverageFrom": [
|
|
||||||
"../**/*.js",
|
|
||||||
"!../**/*.test.js"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"scripts": {
|
|
||||||
"test": "jest --coverage=false --watch",
|
|
||||||
"test-ci": "jest --coverage=false --verbose",
|
|
||||||
"coverage": "rm -rf ../doc/jest && jest --coverage --silent",
|
|
||||||
"build": "node-gyp rebuild",
|
|
||||||
"preinstall": "cd .. && npm ci"
|
|
||||||
},
|
|
||||||
"dependencies": {
|
|
||||||
"jest": "26.6.3"
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
Reference in New Issue