Skip to content

Commit

Permalink
Fix the reference to test files
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchell-merry committed Mar 3, 2024
1 parent e3938c7 commit 08d61c6
Show file tree
Hide file tree
Showing 5 changed files with 51 additions and 51 deletions.
4 changes: 2 additions & 2 deletions test/bin/cli.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ describe("cli", () => {
// 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.
expect(() =>
execSync(
`${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"`,
`${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"`,
{ cwd }
).toString("utf8")
).not.to.throw();
Expand All @@ -74,7 +74,7 @@ describe("cli", () => {
// note: same as above—testing the parser is the biggest win; values can be tested trivially with manual debugging
expect(() => {
execSync(
`${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\\"}"`,
`${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\\"}"`,
{ cwd }
);
}).not.to.throw();
Expand Down
Loading

0 comments on commit 08d61c6

Please sign in to comment.