- Adds a context field to Cart - context is automatically populated with ip + user agent - context can be updated via POST /store/cart/:id or set when creating via POST /store/cart
17 lines
322 B
JavaScript
17 lines
322 B
JavaScript
// API
|
|
|
|
module.exports = {
|
|
testEnvironment: `node`,
|
|
testPathIgnorePatterns: [
|
|
`/examples/`,
|
|
`/www/`,
|
|
`/dist/`,
|
|
`/node_modules/`,
|
|
`__tests__/fixtures`,
|
|
`__testfixtures__`,
|
|
`.cache`,
|
|
],
|
|
transform: { "^.+\\.[jt]s$": `../../jest-transformer.js` },
|
|
setupFilesAfterEnv: ["../setup.js"],
|
|
};
|