mirror of
https://github.com/pieartsy/PluralFlux.git
synced 2026-04-16 17:45:28 +10:00
added babel to convert es modules to cjs
This commit is contained in:
11
jest.config.js
Normal file
11
jest.config.js
Normal file
@@ -0,0 +1,11 @@
|
||||
// jest.config.js
|
||||
module.exports = {
|
||||
clearMocks: true,
|
||||
collectCoverage: true,
|
||||
coverageDirectory: "coverage",
|
||||
setupFiles: ["<rootDir>/jest.setup.js"], // path to a setup module to configure the testing environment before each test
|
||||
verbose: true,
|
||||
transform: {
|
||||
"^.+\\.[t|j]sx?$": require.resolve('babel-jest')
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user