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')