mirror of
https://gitea.toothfairyai.com/ToothFairyAI/tf_code.git
synced 2026-03-30 13:54:01 +00:00
- Rename packages/opencode → packages/tfcode (directory only) - Rename bin/opencode → bin/tfcode (CLI binary) - Rename .opencode → .tfcode (config directory) - Update package.json name and bin field - Update config directory path references (.tfcode) - Keep internal code references as 'opencode' for easy upstream sync - Keep @opencode-ai/* workspace package names This minimal branding approach allows clean merges from upstream opencode repository while providing tfcode branding for users.
11 lines
428 B
TypeScript
11 lines
428 B
TypeScript
import { test, expect } from "bun:test"
|
|
import { FileIgnore } from "../../src/file/ignore"
|
|
|
|
test("match nested and non-nested", () => {
|
|
expect(FileIgnore.match("node_modules/index.js")).toBe(true)
|
|
expect(FileIgnore.match("node_modules")).toBe(true)
|
|
expect(FileIgnore.match("node_modules/")).toBe(true)
|
|
expect(FileIgnore.match("node_modules/bar")).toBe(true)
|
|
expect(FileIgnore.match("node_modules/bar/")).toBe(true)
|
|
})
|