From db3a14c2c7243df91b28ed72f7c8b8e957690080 Mon Sep 17 00:00:00 2001 From: PeterShershov Date: Wed, 25 Dec 2024 15:34:54 +0200 Subject: [PATCH] remove windows slashes from invalid characters. --- packages/define-remix-app/test/define-remix.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/define-remix-app/test/define-remix.spec.ts b/packages/define-remix-app/test/define-remix.spec.ts index cfb29161..17a682c9 100644 --- a/packages/define-remix-app/test/define-remix.spec.ts +++ b/packages/define-remix-app/test/define-remix.spec.ts @@ -1062,7 +1062,7 @@ describe('define-remix', () => { const { driver } = await getInitialManifest({ [indexPath]: simpleLayout, }); - const invalidFsChars = ['\\', ':', '*', '?', '"', "'", '`', '<', '>', '|']; + const invalidFsChars = [':', '*', '?', '"', "'", '`', '<', '>', '|']; for (const invalidChar of invalidFsChars) { const { isValid, errorMessage, pageModule, newPageRoute, newPageSourceCode } = driver.getNewPageInfo('about/$param/invalid-' + invalidChar);