Creates test request helper for API endpoints

Separates common utils into the medusa-core-utils package.
Sets up a testing environment where mocked models/services/etc. can be placed in
__mocks__ folder within its corresponding directory. The mocks will
automatically be registered in a awilix container only used for testing.
This commit is contained in:
Sebastian Rindom
2020-01-21 15:13:47 +01:00
parent 3d494bc652
commit ed472e9fba
33 changed files with 14053 additions and 76 deletions
+1 -8
View File
@@ -1,10 +1,3 @@
module.exports = {
plugins: [
{
resolve: `mrbl-payment-stripe`,
options: {
stripeApiKey: "12345",
},
},
],
plugins: [],
}