@teamkeel/testing-runtime 0.251.0 → 0.251.1

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.251.0",
3
+ "version": "0.251.1",
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",
package/src/index.mjs CHANGED
@@ -1,2 +1,4 @@
1
- export { ActionExecutor } from "./ActionExecutor.mjs";
2
1
  export { sql } from "kysely";
2
+ export { ActionExecutor } from "./ActionExecutor.mjs";
3
+ export { toHaveError } from "./toHaveError.mjs";
4
+ export { toHaveAuthorizationError } from "./toHaveAuthorizationError.mjs";
package/vitest.config.mjs CHANGED
@@ -1,14 +1,7 @@
1
- // This config file is used for both running tests in this package
2
- // and also as the config file for Vitest when running `keel test`.
3
-
4
1
  import { defineConfig } from "vitest/config";
5
2
 
6
3
  export default defineConfig({
7
4
  test: {
8
- // Using __dirname to get an absolute path for this
9
- // import as when using with `keel test` a relative
10
- // import is relative to the current working directory,
11
- // not this file.
12
- setupFiles: [__dirname + "/src/vitest-setup"],
5
+ setupFiles: ["./src/vitest-setup"],
13
6
  },
14
7
  });