Skip to content

Commit

Permalink
fixed failing test fixture
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosrivera committed Mar 4, 2021
1 parent 0a58545 commit 7feb721
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@synx-ai/oas3-mdx",
"version": "0.3.8",
"version": "0.3.9",
"description": "Convert OpenAPI spec to Markdown files.",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion tests/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ describe("convert()", () => {

// this will test a file load from web, also the format is YAML instead JSON, and will create examples
it("should execute from url", () => {
return expect(convert(urlThatExists, { outPath: "./build", snippetTargets: ["node", "python"] })).rejects.toBeDefined();
return expect(convert(urlThatExists, { outPath: "./build", snippetTargets: ["node", "python"] })).resolves.toBeUndefined();
});

// this will fail to load a file from web
Expand Down

0 comments on commit 7feb721

Please sign in to comment.