MCPcopy
hub / github.com/Done-0/fuck-u-code / gitignore-parser.test.ts

File gitignore-parser.test.ts

tests/unit/gitignore-parser.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { describe, it, expect, beforeEach, afterEach } from 'vitest';
2import { loadGitignore, loadNestedGitignores, createMatcher } from '../../src/gitignore/parser.js';
3import { mkdir, writeFile, rm } from 'node:fs/promises';
4import { join } from 'node:path';

Callers

nothing calls this directly

Calls 5

loadGitignoreFunction · 0.85
loadNestedGitignoresFunction · 0.85
createMatcherFunction · 0.85
ignoresMethod · 0.80
filterMethod · 0.80

Tested by

no test coverage detected