mirror of
https://github.com/hanzoai/trace-js.git
synced 2026-10-30 18:19:26 +00:00
17 lines
331 B
JavaScript
17 lines
331 B
JavaScript
// jest.config.js in each workspace package
|
|
const baseConfig = require("../jest.config.js");
|
|
|
|
module.exports = {
|
|
...baseConfig,
|
|
transform: {
|
|
"^.+\\.ts?$": [
|
|
"ts-jest",
|
|
{
|
|
tsconfig: {
|
|
lib: ["ES2021", "ES2022.Error", "DOM"], // We need to include DOM for tests
|
|
},
|
|
},
|
|
],
|
|
},
|
|
};
|