@teamkeel/testing-runtime 0.247.3 → 0.249.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teamkeel/testing-runtime",
3
- "version": "0.247.3",
3
+ "version": "0.249.0",
4
4
  "description": "Internal package used by the generated @teamkeel/testing package",
5
5
  "exports": "./src/index.mjs",
6
6
  "typings": "src/index.d.ts",
@@ -67,6 +67,12 @@ export class ActionExecutor {
67
67
  throw new Error(t);
68
68
  }
69
69
  // Otherwise throw the parsed JSON error response
70
+ // We override toString as otherwise you get expect errors like:
71
+ // `expected to resolve but rejected with "[object Object]"`
72
+ Object.defineProperty(d, "toString", {
73
+ value: () => t,
74
+ enumerable: false,
75
+ });
70
76
  throw d;
71
77
  });
72
78
  }