Fix tests
This commit is contained in:
parent
05320916b2
commit
66494c6760
@ -15,6 +15,6 @@ describe('safe path', () => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
it('accept happy path', () => {
|
it('accept happy path', () => {
|
||||||
expect(safePath('foobar', './uploads')).toBe(false);
|
expect(safePath('foobar', './uploads')).toBe(true);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user