Skip to content

Commit

Permalink
[#7] msw handlers
Browse files Browse the repository at this point in the history
  • Loading branch information
03hoho03 committed May 4, 2024
1 parent f575d5a commit d50767f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/mocks/handlers.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import { HttpResponse, http } from 'msw'

export const handlers = [
http.get('*/test', () => {
return HttpResponse.json({ message: 'hello' })
}),
]

0 comments on commit d50767f

Please sign in to comment.