mirror of
https://github.com/SigNoz/signoz.git
synced 2025-12-18 16:07:10 +00:00
8 lines
229 B
TypeScript
8 lines
229 B
TypeScript
|
|
// 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);
|