Skip to content

Commit

Permalink
Updated CLI tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim committed Jan 24, 2022
1 parent f1f180b commit 69a9f46
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
5 changes: 0 additions & 5 deletions bin/__snapshots__/cli.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,6 @@ Options:
"
`;
exports[`asyncapi-format CLI command should output the version 1`] = `
"1.0.2
"
`;
exports[`asyncapi-format CLI command should show unused components 1`] = `
"================================================================================
AsyncAPI-Format CLI settings:
Expand Down
7 changes: 0 additions & 7 deletions bin/cli.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,6 @@ const fs = require("fs");

describe("asyncapi-format CLI command", () => {

it("should output the version", async () => {
let result = await testUtils.cli([`--version`], '.');
// console.log('result', result)
expect(result.code).toBe(0);
expect(result.stderr).toMatchSnapshot();
});

it("should output the help", async () => {
let result = await testUtils.cli([`--help`], '.');
// console.log('result', result)
Expand Down

0 comments on commit 69a9f46

Please sign in to comment.