mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-12-23 19:11:14 +01:00
7 lines
228 B
JavaScript
7 lines
228 B
JavaScript
|
// src/mocks/server.js
|
||
|
import { setupServer } from 'msw/node';
|
||
|
import { handlers } from './handlers';
|
||
|
|
||
|
// This configures a request mocking server with the given request handlers.
|
||
|
export const server = setupServer(...handlers);
|