Skip to content

Commit

Permalink
test: failing test for paths
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Feb 16, 2024
1 parent 0317580 commit 23e7645
Show file tree
Hide file tree
Showing 2 changed files with 72 additions and 0 deletions.
9 changes: 9 additions & 0 deletions packages/twoslash/test/fixtures/tests/custom-paths.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
// @paths: {"@foo": ["./foo"]}
// @filename: foo.ts
export const a = 1

// @filename: bar.ts
import { a } from "@foo"

const b = a + 1
// ^?
63 changes: 63 additions & 0 deletions packages/twoslash/test/results/tests/custom-paths.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 23e7645

Please sign in to comment.