Skip to content

Commit 08d61c6

Browse files
Fix the reference to test files
1 parent e3938c7 commit 08d61c6

File tree

5 files changed

+51
-51
lines changed

5 files changed

+51
-51
lines changed

test/bin/cli.test.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ describe("cli", () => {
6464
// note: we can’t check headers passed to fetch() without mocking (and overcomplicating/flake-ifying the tests). simply testing the parsing is the biggest win.
6565
expect(() =>
6666
execSync(
67-
`${cmd} https://raw.githubusercontent.com/drwpow/openapi-typescript/main/test/v2/specs/manifold.yaml --header "x-openapi-format:json" --header "x-openapi-version:3.0.1"`,
67+
`${cmd} https://raw.githubusercontent.com/drwpow/openapi-typescript/5.x/test/v2/specs/manifold.yaml --header "x-openapi-format:json" --header "x-openapi-version:3.0.1"`,
6868
{ cwd }
6969
).toString("utf8")
7070
).not.to.throw();
@@ -74,7 +74,7 @@ describe("cli", () => {
7474
// note: same as above—testing the parser is the biggest win; values can be tested trivially with manual debugging
7575
expect(() => {
7676
execSync(
77-
`${cmd} https://raw.githubusercontent.com/drwpow/openapi-typescript/main/test/v2/specs/manifold.yaml --headersObject "{\\"x-boolean\\":true, \\"x-number\\":3.0, \\"x-string\\": \\"openapi\\"}"`,
77+
`${cmd} https://raw.githubusercontent.com/drwpow/openapi-typescript/5.x/test/v2/specs/manifold.yaml --headersObject "{\\"x-boolean\\":true, \\"x-number\\":3.0, \\"x-string\\": \\"openapi\\"}"`,
7878
{ cwd }
7979
);
8080
}).not.to.throw();

0 commit comments

Comments
 (0)