mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-11-13 03:35:52 +01:00
2e3b9552cc
* node 14 as minimum for cli * Create perfect-emus-clean.md * Update utils.spec.ts
10 lines
235 B
TypeScript
10 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();
|
|
});
|