mirror of
https://github.com/hanzoai/msw.git
synced 2026-09-24 17:00:34 +00:00
10 lines
170 B
TypeScript
10 lines
170 B
TypeScript
import { setupWorker } from 'msw/browser'
|
|
|
|
const worker = setupWorker()
|
|
worker.start({
|
|
/**
|
|
* @note This option is being deprecated.
|
|
*/
|
|
waitUntilReady: true,
|
|
})
|