Skip to content
Myr

jest.config.build.js

This file

Path

jest.config.build.js

19 lines · 454 bytes · JavaScript

Last changed by

chore: Merge branch 'master' of github.com:immerjs/immerMichel Weststratebefore adoption6c62eec

History of this file

Take it

Merge pull request #536 from immerjs/multi-bundleMichel Weststratebefore adoption0d87fc8

lines 1–16why, one step back
1module.exports = {
2 moduleNameMapper: {3 "src/.*": "<rootDir>/dist/immer.esm.js"4 },5 testURL: "http://localhost",6 globals: {7 USES_BUILD: true,8 "ts-jest": {9 tsConfig: {10 noUnusedLocals: false11 }12 }13 },14 preset: "ts-jest/presets/js-with-ts",15 testEnvironment: "node",16 testMatch: ["**/__tests__/**/*.[jt]s?(x)"],

chore: Merge branch 'master' of github.com:immerjs/immerMichel Weststratebefore adoption6c62eec

lines 17–18why, one step back
17 snapshotResolver: "<rootDir>/jest.config.build.snapshots.js",
18 testResultsProcessor: "<rootDir>/ignoreObseleteSnapshots.js"

Merge pull request #536 from immerjs/multi-bundleMichel Weststratebefore adoption0d87fc8

line 19why, one step back
19}