Skip to content

Commit

Permalink
Remove unused lines
Browse files Browse the repository at this point in the history
  • Loading branch information
ThatGuySam committed Aug 12, 2023
1 parent d66e27d commit 21c7b84
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/msw/handlers.js
Original file line number Diff line number Diff line change
@@ -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')
Expand Down

0 comments on commit 21c7b84

Please sign in to comment.