Skip to content

Commit aec8417

Browse files
committed
test(cli): update version assertion regex
1 parent 9bc9f64 commit aec8417

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

__tests__/cli.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ describe('CLI Program', () => {
66
});
77

88
test('should have the correct version', () => {
9-
expect(program.version()).toBe('1.0.0');
9+
expect(program.version()).toMatch(/^v?\d+\.\d+\.\d+$/);
1010
});
1111

1212
test.skip('should execute the action correctly for local repo', async () => {

0 commit comments

Comments
 (0)