MCPcopy Create free account
hub / github.com/QodeXcli/QodeX / mk

Function mk

test/verify-baseline.test.ts:5–7  ·  view source on GitHub ↗
(file: string, line: number, message: string, code?: string)

Source from the content-addressed store, hash-verified

3import type { Diagnostic } from '../src/tools/diagnostics/parsers.js';
4
5const mk = (file: string, line: number, message: string, code?: string): Diagnostic => ({
6 file, line, column: 1, severity: 'error', message, code,
7});
8
9describe('diffDiagnostics (verify baseline)', () => {
10 it('reports only genuinely new errors', () => {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected