Set test timeout to 10s for all tests because platform 11.2.0 is slower to test
This commit is contained in:
parent
3228e38b64
commit
4a42fa64d1
5
jest.config.js
Normal file
5
jest.config.js
Normal file
@ -0,0 +1,5 @@
|
||||
const {defaults} = require('jest-config');
|
||||
module.exports = {
|
||||
//moduleFileExtensions: [...defaults.moduleFileExtensions, 'ts', 'tsx'],
|
||||
testTimeout: 10000
|
||||
};
|
||||
@ -5,9 +5,6 @@ const appTester = zapier.createAppTester(App);
|
||||
zapier.tools.env.inject();
|
||||
|
||||
describe('creates.invoice', () => {
|
||||
|
||||
jest.setTimeout(7000);
|
||||
|
||||
test(App.creates.CreateInvoice.key, async () => {
|
||||
const amount = 1 + Math.floor(Math.random() * 100);
|
||||
const currencyCode = 'EUR';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user