Skip to content

Commit

Permalink
Add test for Cli App's version property
Browse files Browse the repository at this point in the history
  • Loading branch information
aedart committed Oct 20, 2024
1 parent ec10466 commit 9c506b1
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions tests/cli/packages/cli/version.test.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import { describe, it } from 'node:test';
import * as assert from "node:assert";
import makeCliApplication from "./helpers/makeCliApplication.js";

describe('@aedart/cli', () => {

describe('version', () => {

it('can display version', () => {
const result = makeCliApplication().version;

assert.strictEqual(typeof result, 'string', 'Cli Application does not have version defined');
});
});
});

0 comments on commit 9c506b1

Please sign in to comment.