UNPKG

612 BPlain TextView Raw
1import { outside } from '../../';
2
3// Not implemented as we don't use it.
4
5// outside(version, range, hilo): Return true if the version is outside the
6// bounds of the range in either the high or low direction. The hilo argument
7// must be either the string '>' or '<'.
8
9describe('test outside', () => {
10 it('outside(version, range): not implemented', () => {
11 expect(() => {outside()}).toThrow('Not implemented');
12 // expect(outside('1.1.2', '> 0.2, < 2.3', '>')).toThrow({message: 'Not implemented'});
13 // expect(outside('1.1.2', '> 0.2, < 2.3', '<')).toThrow({message: 'Not implemented'});
14 })
15});