* chore: create tests * chore: models * fix: passing initial tests * test: adds integration test * test: clean up integration implementation * fix: claims * fix: brightpearl + webshipper * tests: passing * fix: update claim items * fix: adds gitignore * fix: pr comments * fix: single migration * fix(medusa-plugin-segment): adds item claimed event to segment
22 lines
457 B
JavaScript
22 lines
457 B
JavaScript
const glob = require(`glob`);
|
|
|
|
const pkgs = glob
|
|
.sync(`${__dirname}/*/`)
|
|
.map((p) => p.replace(__dirname, `<rootDir>/integration-tests`));
|
|
|
|
module.exports = {
|
|
testEnvironment: `node`,
|
|
rootDir: `../`,
|
|
roots: pkgs,
|
|
testPathIgnorePatterns: [
|
|
`/examples/`,
|
|
`/www/`,
|
|
`/dist/`,
|
|
`/node_modules/`,
|
|
`__tests__/fixtures`,
|
|
`__testfixtures__`,
|
|
`.cache`,
|
|
],
|
|
transform: { "^.+\\.[jt]s$": `<rootDir>/jest-transformer.js` },
|
|
};
|