core: keep windows @mentions finding project files
This commit is contained in:
parent
3b32584efa
commit
19a503aa7e
3 changed files with 11 additions and 3 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue