test(): Test the create product workflow compensation (#4716)

**What**
Integration tests to validate the workflow compensation.
Also, fix the transaction state when the workflow is compensating and some steps does not have any compensation
This commit is contained in:
Adrien de Peretti authored and GitHub committed 2023-08-09 14:33:04 +00:00
1 parent 86c314eb2a
commit ac866ebb51
21 files changed
+391 -193

No files matched your search

+1 -1
View File
@@ -40,7 +40,7 @@
"prepare": "cross-env NODE_ENV=production yarn run build",
"build": "rimraf dist && tsc --build",
"serve": "node dist/app.js",
"test": "jest"
"test": "jest --maxWorkers=50% --detectOpenHandles --forceExit"
},
"peerDependencies": {
"medusa-interfaces": "^1.3.7",