chore(README): fix build:ts before test:e2e

dev
neeboo 5 years ago
parent f1d1f29410
commit f113cac157
  1. 2
      README.md
  2. 4
      scripts/jest/jest.src.config.js

@ -66,7 +66,7 @@ yarn add tslib
3. wait for 1-2 mins, and run this: 3. wait for 1-2 mins, and run this:
```bash ```bash
yarn test:e2e yarn build:ts && yarn test:e2e
``` ```

@ -57,6 +57,10 @@ const config = {
testEnvironment: process.env.NODE_ENV === 'development' ? 'node' : 'jsdom', testEnvironment: process.env.NODE_ENV === 'development' ? 'node' : 'jsdom',
collectCoverage: true, collectCoverage: true,
automock: false, automock: false,
watchPlugins: [
'jest-watch-typeahead/filename',
'jest-watch-typeahead/testname',
],
}; };
module.exports = config; module.exports = config;

Loading…
Cancel
Save