mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-08-03 15:20:38 +08:00

* refactor: setup wrapper for all the providers * refactor: done with unit test configuration and service layer testing * refactor: checking for multiple services * refactor: updated test cases added table sort * refactor: moved hooks mocking to test-utils * refactor: added the search test case * refactor: updated the handler with mocks data
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);
|