mirror of
https://github.com/oceanprotocol/status
synced 2024-11-24 11:01:30 +01:00
travis fixes
This commit is contained in:
parent
fa51b4ac1a
commit
9c129af275
@ -2,6 +2,11 @@ dist: xenial
|
||||
language: node_js
|
||||
node_js: node
|
||||
|
||||
cache:
|
||||
npm: true
|
||||
directories:
|
||||
- .next/cache
|
||||
|
||||
before_script:
|
||||
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
|
||||
- chmod +x ./cc-test-reporter
|
||||
|
@ -1,5 +1,5 @@
|
||||
module.exports = {
|
||||
preset: 'ts-jest/presets/js-with-babel',
|
||||
preset: 'ts-jest/presets/js-with-ts',
|
||||
setupFilesAfterEnv: ['<rootDir>/jest/setup.ts'],
|
||||
globals: {
|
||||
'ts-jest': {
|
||||
@ -12,7 +12,12 @@ module.exports = {
|
||||
'<rootDir>/jest/__mocks__/fileMock.js',
|
||||
'\\.svg': '<rootDir>/jest/__mocks__/svgrMock.js'
|
||||
},
|
||||
testPathIgnorePatterns: ['.next/', 'node_modules/', 'build/', 'coverage/'],
|
||||
testPathIgnorePatterns: [
|
||||
'<rootDir>/.next',
|
||||
'<rootDir>/node_modules',
|
||||
'<rootDir>/build',
|
||||
'<rootDir>/coverage'
|
||||
],
|
||||
collectCoverageFrom: ['src/**/*.{ts,tsx}', '!src/@types/**/*'],
|
||||
collectCoverage: true
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user