@labdigital/commercetools-mock 2.43.2 → 2.43.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/ctMock.ts +2 -2
package/dist/index.cjs
CHANGED
|
@@ -9367,10 +9367,10 @@ var CommercetoolsMock = class {
|
|
|
9367
9367
|
// allows you to manage msw server yourself and register the handlers needed
|
|
9368
9368
|
// for commercetools-mock to work.
|
|
9369
9369
|
registerHandlers(server) {
|
|
9370
|
-
const handlers = this.getHandlers(
|
|
9370
|
+
const handlers = this.getHandlers();
|
|
9371
9371
|
server.use(...handlers);
|
|
9372
9372
|
}
|
|
9373
|
-
getHandlers(
|
|
9373
|
+
getHandlers() {
|
|
9374
9374
|
const app = this.app;
|
|
9375
9375
|
return [
|
|
9376
9376
|
import_msw.http.post(`${this.options.authHost}/oauth/*`, async ({ request }) => {
|