milkio 0.2.5 → 0.2.6
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/api-test/index.ts +2 -1
- package/package.json +1 -1
package/api-test/index.ts
CHANGED
|
@@ -17,7 +17,8 @@ export const executeApiTests = async <Path extends Array<keyof (typeof schema)["
|
|
|
17
17
|
const apiTestHooks = await import("../../../src/api-test.ts");
|
|
18
18
|
await apiTestHooks.default.onBootstrap();
|
|
19
19
|
|
|
20
|
-
for (
|
|
20
|
+
for (const pathRaw of pathArr) {
|
|
21
|
+
let path = pathRaw.replaceAll("\\", "/");
|
|
21
22
|
if (path.startsWith("/")) path = path.slice(1) as Path[number];
|
|
22
23
|
|
|
23
24
|
tests.push(
|