diff options
author | fragosti <francesco.agosti93@gmail.com> | 2018-10-03 04:29:14 +0800 |
---|---|---|
committer | fragosti <francesco.agosti93@gmail.com> | 2018-10-03 04:29:14 +0800 |
commit | a64bee9f8375a5a21cdd070b253afc37c75c4338 (patch) | |
tree | 71cfb1067ee0f4eeeba0cd0a50b89aa176880c40 /packages/instant/jest.config.js | |
parent | 2471e1034664c348cb9fa4646b306f48c44572ec (diff) | |
download | dexon-0x-contracts-a64bee9f8375a5a21cdd070b253afc37c75c4338.tar dexon-0x-contracts-a64bee9f8375a5a21cdd070b253afc37c75c4338.tar.gz dexon-0x-contracts-a64bee9f8375a5a21cdd070b253afc37c75c4338.tar.bz2 dexon-0x-contracts-a64bee9f8375a5a21cdd070b253afc37c75c4338.tar.lz dexon-0x-contracts-a64bee9f8375a5a21cdd070b253afc37c75c4338.tar.xz dexon-0x-contracts-a64bee9f8375a5a21cdd070b253afc37c75c4338.tar.zst dexon-0x-contracts-a64bee9f8375a5a21cdd070b253afc37c75c4338.zip |
Tests are working with coverage
Diffstat (limited to 'packages/instant/jest.config.js')
-rw-r--r-- | packages/instant/jest.config.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/packages/instant/jest.config.js b/packages/instant/jest.config.js new file mode 100644 index 000000000..29c365835 --- /dev/null +++ b/packages/instant/jest.config.js @@ -0,0 +1,10 @@ +module.exports = { + roots: ['<rootDir>/test'], + coverageDirectory: 'coverage', + transform: { + '.*.tsx?$': 'ts-jest', + }, + testRegex: '(/__test__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$', + moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node'], + collectCoverageFrom: ['src/**/*.{ts,tsx}', '!src/index.tsx'], +}; |