add test:integration

pull/7933/head
tanhauhau 4 years ago
parent ad1cc7c8b5
commit 5eff3bf243

@ -69,7 +69,7 @@ jobs:
- run: npm install - run: npm install
env: env:
SKIP_PREPARE: true SKIP_PREPARE: true
- run: npm test - run: npm run test:integration
env: env:
CI: true CI: true
Lint: Lint:

@ -86,7 +86,8 @@
}, },
"types": "types/runtime/index.d.ts", "types": "types/runtime/index.d.ts",
"scripts": { "scripts": {
"test": "mocha --exit", "test": "npm run test:integration && npm run test:unit",
"test:integration": "mocha --exit",
"test:unit": "mocha --config .mocharc.unit.js --exit", "test:unit": "mocha --config .mocharc.unit.js --exit",
"quicktest": "mocha --exit", "quicktest": "mocha --exit",
"build": "rollup -c && npm run tsd", "build": "rollup -c && npm run tsd",

Loading…
Cancel
Save