Skip to content

Commit

Permalink
version: Fix version test for alpha & beta releases
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanGoncharov committed Oct 14, 2019
1 parent 93a2bac commit 1e3a581
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/__tests__/version-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { version, versionInfo } from '../version';
describe('Version', () => {
it('version', () => {
expect(version).to.be.a('string');
expect(version).to.match(/^\d+\.\d+\.\d(-rc.\d+)?$/);
expect(version).to.match(/^\d+\.\d+\.\d(-(alpha|beta|rc)\.\d+)?$/);
});

it('versionInfo', () => {
Expand Down

0 comments on commit 1e3a581

Please sign in to comment.