From 0f8b31dcc34e04b515f64bc662998f111e5056a2 Mon Sep 17 00:00:00 2001 From: ruben-rebelo Date: Mon, 4 Mar 2024 09:12:33 +0000 Subject: [PATCH] [TS migration][Routes] Feedback --- tests/e2e/server/routes.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/tests/e2e/server/routes.ts b/tests/e2e/server/routes.ts index 44a5b8bd3ec1..0a204f491d18 100644 --- a/tests/e2e/server/routes.ts +++ b/tests/e2e/server/routes.ts @@ -1,6 +1,4 @@ -type Routes = Record; - -const routes: Routes = { +const routes = { // The app calls this endpoint to know which test to run testConfig: '/test_config', @@ -18,6 +16,6 @@ const routes: Routes = { // Gets the network cache testGetNetworkCache: '/test_get_network_cache', -}; +} satisfies Record; export default routes;