mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-11-21 19:07:46 +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);
|