Skip to content

Commit

Permalink
#70: test: improve ts cases
Browse files Browse the repository at this point in the history
  • Loading branch information
kaelzhang committed Dec 19, 2021
1 parent 7785ba8 commit 92e83e2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/ts/simple.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,7 @@ const {

equal(ignored, false, 'not ignored')
equal(unignored, false, 'not unignored')

// Readyonly array
const readonlyPaths = ['a', 'a/b', 'foo/bar'] as const
ig.filter(readonlyPaths)

0 comments on commit 92e83e2

Please sign in to comment.