Raw
1 const defineJestConfig = require("../../../define_jest_config")
2 module.exports = defineJestConfig({
3 // the plugin builds into `.medusa/server`, which mirrors `src` and would
4 // otherwise be picked up as a duplicate (and partly broken) set of suites.
5 // the dot must be escaped: these are regexes, and the repo root path itself
6 // contains `medusa/`.
7 modulePathIgnorePatterns: [`dist/`, `\\.medusa/`],
8 testPathIgnorePatterns: [
9 `dist/`,
10 `\\.medusa/`,
11 `node_modules/`,
12 `__fixtures__/`,
13 `__mocks__/`,
14 ],
15 })