Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit 7858bad

Browse files
author
Michal Vlasák
committed
Import jest-extended
1 parent fb69674 commit 7858bad

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

jest.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,5 @@ module.exports = {
88
collectCoverage: true,
99
// testURL because of problems with jsdom https://github.com/jsdom/jsdom/issues/2304
1010
testURL: "http://localhost",
11+
setupFilesAfterEnv: ['<rootDir>/src/tests/setup.ts'],
1112
};

src/tests/setup.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
import 'jest-extended';

0 commit comments

Comments
 (0)