mirror of
https://github.com/verdaccio/verdaccio.git
synced 2025-02-03 23:09:17 -05:00
9 lines
235 B
TypeScript
9 lines
235 B
TypeScript
import { isVersionValid } from '../src/utils';
|
|
|
|
test('valid version node.js', () => {
|
|
expect(isVersionValid('14.0.0')).toBeTruthy();
|
|
});
|
|
|
|
test('is invalid version node.js', () => {
|
|
expect(isVersionValid('13.0.0')).toBeFalsy();
|
|
});
|