Skip to content

Commit 7feb721

Browse files
committed
fixed failing test fixture
1 parent 0a58545 commit 7feb721

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@synx-ai/oas3-mdx",
3-
"version": "0.3.8",
3+
"version": "0.3.9",
44
"description": "Convert OpenAPI spec to Markdown files.",
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",

tests/index.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ describe("convert()", () => {
4545

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

5151
// this will fail to load a file from web

0 commit comments

Comments
 (0)