Skip to content

Commit 1e81828

Browse files
authored
[Changed] Mock different responses given the same request (#7)
2 parents 67d2118 + a1c4766 commit 1e81828

8 files changed

Lines changed: 1759 additions & 1394 deletions

File tree

config/jest.config.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
"<rootDir>/config/enzyme.js",
1414
"<rootDir>/config/polyfills.js"
1515
],
16+
"setupFilesAfterEnv": ["<rootDir>/config/jest.setup.js"],
1617
"testMatch": [ "<rootDir>/**/?(*.)(test).js" ],
1718
"moduleFileExtensions": ["js", "json"],
1819
"reporters": [ "default", "jest-junit" ]

config/jest.setup.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
import '@testing-library/jest-dom/extend-expect'

0 commit comments

Comments
 (0)