We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 94f5ccf commit a71dda2Copy full SHA for a71dda2
packages/pluggableWidgets/datagrid-web/jest.config.js
@@ -1,8 +1,11 @@
1
+const base = require("@mendix/pluggable-widgets-tools/test-config/jest.enzyme-free.config.js");
2
+
3
module.exports = {
- ...require("@mendix/pluggable-widgets-tools/test-config/jest.enzyme-free.config.js"),
4
+ ...base,
5
/**
6
* `nanoevents` package is ESM module and because ESM is not supported by Jest yet
7
* we mark `nanoevents` as a module that should be transformed by ts-jest.
8
*/
- transformIgnorePatterns: ["node_modules/(?!nanoevents)/"]
9
+ transformIgnorePatterns: ["node_modules/(?!nanoevents)/"],
10
+ setupFilesAfterEnv: [...base.setupFilesAfterEnv, "<rootDir>/jest.setup.ts"]
11
};
0 commit comments