@takaro/module-test 0.0.0-dev.b16c66b → 0.0.0-dev.b3553b7

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/README.md CHANGED
@@ -240,7 +240,8 @@ it(t.spec.name, t.testOptions(), () => t.runBody());
240
240
 
241
241
  A stub replaces the whole response, so it must produce the axios envelope module code reads.
242
242
  `ok`, `single` and `paginated` build it. Every method on `client.stubs` is optional, so `?.` is
243
- required:
243
+ required. A `gameServerControllerExecuteCommand` stub answering `success: false` fails the run with
244
+ `GameServerCommandRejectedError`, as in Takaro:
244
245
 
245
246
  ```ts
246
247
  import { createModuleTest, paginated } from '@takaro/module-test';
package/dist/.source-hash CHANGED
@@ -1 +1 @@
1
- 429a3aa3011cc67ca7fe3624e03839a876fe81eecefdbebb1f5ab8f2e2aa2f5e
1
+ 5e6716baabb40bb01dbc979bc7f920d492b3ded153561701a6a93f7ea84ae1e0
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@takaro/module-test",
3
3
  "description": "Unit-test harness for Takaro modules: the real module VM against an in-memory fake of the Takaro API client",
4
- "version": "0.0.0-dev.b16c66b",
4
+ "version": "0.0.0-dev.b3553b7",
5
5
  "author": "",
6
6
  "dependencies": {
7
- "@takaro/apiclient": "0.0.0-dev.b16c66b",
8
- "@takaro/helpers": "0.0.0-dev.b16c66b",
7
+ "@takaro/apiclient": "0.0.0-dev.b3553b7",
8
+ "@takaro/helpers": "0.0.0-dev.b3553b7",
9
9
  "@types/sinon": "17.0.4",
10
10
  "ajv": "8.20.0",
11
11
  "sinon": "11.1.2"