|
@@ -271,6 +271,11 @@ const config: Config.InitialOptions = {
|
|
|
},
|
|
|
],
|
|
|
],
|
|
|
+ /**
|
|
|
+ * jest.clearAllMocks() automatically called before each test
|
|
|
+ * @link - https://jestjs.io/docs/configuration#clearmocks-boolean
|
|
|
+ */
|
|
|
+ clearMocks: true,
|
|
|
|
|
|
testEnvironment: '<rootDir>/tests/js/instrumentedEnv',
|
|
|
testEnvironmentOptions: {
|