History

fix tests

Rhys Sullivan committed 8 months ago

Commit bbd71fa1 parent 644615b6 files · +42 −25Browse files

Showing the changes to packages/drivers (3 of 6 files). Show all

Unified · Split

3 files
  1. packages/drivers/catalog-builders/package.json +1 −1
  2. packages/drivers/openapi/src/openapi-real-spec-coverage.test.ts +1 −1
  3. packages/drivers/openapi/src/openapi-tool-presentation.test.ts +1 −1
packages/drivers/catalog-builders/package.json+1−1
@@ -8,7 +8,7 @@ · 7 unmodified lines
8 },8 },
9 "scripts": {9 "scripts": {
10 "typecheck": "bunx tsc --noEmit -p tsconfig.json",10 "typecheck": "bunx tsc --noEmit -p tsconfig.json",
11 "test": "vitest run",11 "test": "vitest run --passWithNoTests",
12 "test:watch": "vitest"12 "test:watch": "vitest"
13 },13 },
14 "dependencies": {14 "dependencies": {
packages/drivers/openapi/src/openapi-real-spec-coverage.test.ts+1−1
@@ -15,7 +15,7 @@ import type { · 14 unmodified lines
15 15
16const readFixture = (name: string): string =>16const readFixture = (name: string): string =>
17 readFileSync(17 readFileSync(
18 new URL(`../../control-plane/src/runtime/fixtures/${name}`, import.meta.url),18 new URL(`../../../platform/control-plane/src/runtime/fixtures/${name}`, import.meta.url),
19 "utf8",19 "utf8",
20 );20 );
21 21
packages/drivers/openapi/src/openapi-tool-presentation.test.ts+1−1
@@ -10,7 +10,7 @@ import { buildOpenApiToolPresentation } from "./openapi-tool-presentation"; · 9 unmodified lines
10 10
11const readFixture = (name: string): string =>11const readFixture = (name: string): string =>
12 readFileSync(12 readFileSync(
13 new URL(`../../control-plane/src/runtime/fixtures/${name}`, import.meta.url),13 new URL(`../../../platform/control-plane/src/runtime/fixtures/${name}`, import.meta.url),
14 "utf8",14 "utf8",
15 );15 );
16 16