@dever-labs/mockly-testcontainers 0.12.0 → 0.12.2

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.
@@ -75,7 +75,7 @@ export class StartedMocklyContainer {
75
75
  this.assertOk(res, `deactivateScenario(${id})`);
76
76
  }
77
77
  async setFault(config) {
78
- const res = await this.post('/api/fault', config);
78
+ const res = await this.post('/api/fault/http', config);
79
79
  this.assertOk(res, 'setFault');
80
80
  }
81
81
  async clearFault() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dever-labs/mockly-testcontainers",
3
- "version": "0.12.0",
3
+ "version": "0.12.2",
4
4
  "description": "Testcontainers module for Mockly — run Mockly as a Docker container in tests",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",