This took embarrassingly long to debug. :| what: - fixes a bug where the payment collection of other orders were getting updated - adds order status to payments section <img width="1069" alt="Screenshot 2024-08-02 at 08 37 38" src="https://github.com/user-attachments/assets/31776bd3-e6b9-4d23-8be6-f972f7316cf3"> <img width="1072" alt="Screenshot 2024-08-02 at 08 37 48" src="https://github.com/user-attachments/assets/38cdd8a1-9f31-4920-91bf-a3554e298960">
32 lines
648 B
JavaScript
32 lines
648 B
JavaScript
process.chdir(__dirname)
|
|
|
|
module.exports = {
|
|
testEnvironment: `node`,
|
|
rootDir: "./",
|
|
transformIgnorePatterns: ["/dist", "/node_modules/"],
|
|
testPathIgnorePatterns: [
|
|
`/examples/`,
|
|
`/www/`,
|
|
`/dist/`,
|
|
`/node_modules/`,
|
|
`<rootDir>/node_modules/`,
|
|
`__tests__/fixtures`,
|
|
`__testfixtures__`,
|
|
`.cache`,
|
|
"__fixtures__",
|
|
],
|
|
transform: {
|
|
"^.+\\.[jt]s$": [
|
|
"@swc/jest",
|
|
{
|
|
jsc: {
|
|
parser: { syntax: "typescript", decorators: true },
|
|
transform: { decoratorMetadata: true },
|
|
target: "es2021",
|
|
},
|
|
},
|
|
],
|
|
},
|
|
setupFiles: ["../setup-env.js"],
|
|
}
|