Fix tests

This commit is contained in:
Valentin Brandl 2024-08-16 16:39:44 +02:00
parent 05320916b2
commit 82d5d313d6
Signed by: vbrandl
GPG Key ID: CAD4DA1A789125F9

View File

@ -15,6 +15,6 @@ describe('safe path', () => {
});
it('accept happy path', () => {
expect(safePath('foobar', './uploads')).toBe(false);
expect(safePath('foobar', './uploads')).toBe(true);
});
});