hotfix(medusa): Get cart with session (#165)

This commit is contained in:
Oliver Windall Juhl authored and GitHub committed 2021-02-04 14:51:04 +01:00
1 parent d8e806d8ff
commit 81df78384c
7 files changed
+197 -2

No files matched your search

+20 -1
View File
@@ -1,3 +1,22 @@
const glob = require(`glob`);
const pkgs = glob
.sync(`${__dirname}/*/`)
.map((p) => p.replace(__dirname, `<rootDir>/integration-tests`));
module.exports = {
setupFilesAfterEnv: ["<rootDir>/setup.js"],
testEnvironment: `node`,
rootDir: `../`,
roots: pkgs,
testPathIgnorePatterns: [
`/examples/`,
`/www/`,
`/dist/`,
`/node_modules/`,
`__tests__/fixtures`,
`__testfixtures__`,
`.cache`,
],
transform: { "^.+\\.[jt]s$": `<rootDir>/jest-transformer.js` },
setupFilesAfterEnv: ["<rootDir>/integration-tests/setup.js"],
};