From 66494c6760bc6b35b1bda8c9b9c89c07c0e1c483 Mon Sep 17 00:00:00 2001 From: Valentin Brandl Date: Fri, 16 Aug 2024 16:39:44 +0200 Subject: [PATCH] Fix tests --- src/index.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.test.ts b/src/index.test.ts index 474ce58..cc1b0a6 100644 --- a/src/index.test.ts +++ b/src/index.test.ts @@ -15,6 +15,6 @@ describe('safe path', () => { }); it('accept happy path', () => { - expect(safePath('foobar', './uploads')).toBe(false); + expect(safePath('foobar', './uploads')).toBe(true); }); });