core: keep windows @mentions finding project files

This commit is contained in:
Shoubhit Dash 2026-03-27 18:01:39 +05:30
commit 19a503aa7e
3 changed files with 11 additions and 3 deletions

View file

@ -1,4 +1,4 @@
import { describe, expect, test } from "bun:test"
import { afterEach, describe, expect, test } from "bun:test"
import fs from "fs/promises"
import path from "path"
import { tmpdir } from "../fixture/fixture"
@ -10,6 +10,10 @@ async function write(file: string, body: string) {
await fs.writeFile(file, body)
}
afterEach(async () => {
await Instance.disposeAll()
})
describe("file.fff", () => {
test("allowed respects hidden filter", async () => {
expect(Fff.allowed({ rel: "visible.txt", hidden: true })).toBe(true)