From 21c7b84747887d641691dd6d3223d48cbcc4ec97 Mon Sep 17 00:00:00 2001 From: ThatGuySam Date: Sat, 12 Aug 2023 16:14:27 -0500 Subject: [PATCH] Remove unused lines --- test/msw/handlers.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/msw/handlers.js b/test/msw/handlers.js index 8a3984d..fb4633d 100644 --- a/test/msw/handlers.js +++ b/test/msw/handlers.js @@ -1,11 +1,10 @@ -import path from 'node:path' import fs from 'fs/promises' import { rest } from 'msw' export const handlers = [ rest.get('https://mock.msw/*', async (req, res, ctx) => { - const { endpoint } = req.params; + // const { endpoint } = req.params; const urlPath = req.url.pathname const fileContent = await fs.readFile( `./static/${urlPath}`, 'utf8')