Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: tests broken on Deno 2.1 (#2776)
Resolves #2771 Specifically the `init` test fails: ``` deno test -A ./init ``` Output: ``` error: No target files found. ----- output end ----- init - fmt, lint, and type check project ... FAILED (157ms) init with tailwind - fmt, lint, and type check project ... ------- output ------- Task check deno fmt --check && deno lint && deno check **/*.ts && deno check **/*.tsx error: No target files found. ----- output end ----- init with tailwind - fmt, lint, and type check project ... FAILED (136ms) ``` Seems to be a gitignore issue, and _probably_ relates to the new features that ["lint an fmt respect gitignore"](denoland/deno#26897): - the gitignore file in the fresh project has `tmp-*` - the tmp directory created by the init test matches that pattern: `tmp-${hash}` - changing the tmp directory to `tmp_${hash}` resolves the issue 😄
- Loading branch information