Use 10s timeout on Jest tests
This commit is contained in:
parent
88a4213caa
commit
90e78cc344
|
@ -6,5 +6,6 @@ module.exports = {
|
||||||
'getStats\\.js': '<rootDir>/modules/__mocks__/getStatsMock.js'
|
'getStats\\.js': '<rootDir>/modules/__mocks__/getStatsMock.js'
|
||||||
},
|
},
|
||||||
testMatch: ['**/__tests__/*-test.js'],
|
testMatch: ['**/__tests__/*-test.js'],
|
||||||
testURL: 'http://localhost/'
|
testURL: 'http://localhost/',
|
||||||
|
setupTestFrameworkScriptFile: './jest.setup.js'
|
||||||
};
|
};
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
// TODO: Mock out the registry so tests don't actually hit
|
||||||
|
// the real registry so they don't take so long. Then we can
|
||||||
|
// remove this.
|
||||||
|
jest.setTimeout(10000);
|
Loading…
Reference in New Issue