MCPcopy Index your code
hub / github.com/sourcebot-dev/sourcebot / createMockLogger

Function createMockLogger

packages/backend/src/utils.test.ts:11–16  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

9}));
10
11const createMockLogger = (): Logger => ({
12 warn: vi.fn(),
13 error: vi.fn(),
14 info: vi.fn(),
15 debug: vi.fn(),
16} as unknown as Logger);
17
18test('should return true for identical arrays', () => {
19 expect(arraysEqualShallow([1, 2, 3], [1, 2, 3])).toBe(true);

Callers 1

utils.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected