Add msw file server

This commit is contained in:
ThatGuySam 2023-08-12 16:01:50 -05:00
parent 05a30017f6
commit 81340c5e97
3 changed files with 27 additions and 0 deletions

7
test/msw/native.js Normal file
View file

@ -0,0 +1,7 @@
// This module enables requests interception in React Native
// using the same request handlers as in tests.
import { setupServer } from 'msw/native'
import { handlers } from './handlers'
export const native = setupServer( ...handlers )