Skip to content

Commit

Permalink
test(data-loader): move jest.setTimeout to top of the file (#1024)
Browse files Browse the repository at this point in the history
* test: move `jest.setTimeout` to top of the file

ref. jestjs/jest#11500

* chore: extend timeout to 30 sec
  • Loading branch information
zaki-yama authored Jul 27, 2021
1 parent d2f7e7f commit c48d7d0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/data-loader/src/__tests__/main.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,7 @@ const mainFilePath = path.resolve(
packageJson.bin["kintone-data-loader"]
);

beforeEach(() => {
jest.setTimeout(10000);
});
jest.setTimeout(30000);

const checkRejectArg = ({
arg,
Expand Down

0 comments on commit c48d7d0

Please sign in to comment.