Skip to content

Commit 63d0d30

Browse files
authored
chore: Fix remote tests (#844)
1 parent e9548c9 commit 63d0d30

File tree

5 files changed

+51
-51
lines changed

5 files changed

+51
-51
lines changed

test/bin/cli.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ describe("cli", () => {
5050
// 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.
5151
expect(() =>
5252
execSync(
53-
`${cmd} https://raw.githubusercontent.com/drwpow/openapi-typescript/main/tests/v2/specs/manifold.yaml --header "x-openapi-format:json" --header "x-openapi-version:3.0.1"`,
53+
`${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"`,
5454
{ cwd }
5555
).toString("utf8")
5656
).not.to.throw();
@@ -60,7 +60,7 @@ describe("cli", () => {
6060
// note: same as above—testing the parser is the biggest win; values can be tested trivially with manual debugging
6161
expect(() => {
6262
execSync(
63-
`${cmd} https://raw.githubusercontent.com/drwpow/openapi-typescript/main/tests/v2/specs/manifold.yaml --headersObject "{\\"x-boolean\\":true, \\"x-number\\":3.0, \\"x-string\\": \\"openapi\\"}"`,
63+
`${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\\"}"`,
6464
{ cwd }
6565
);
6666
}).not.to.throw();

0 commit comments

Comments
 (0)