Skip to content

Commit

Permalink
test: fix flaky test
Browse files Browse the repository at this point in the history
  • Loading branch information
TomerAberbach committed May 12, 2024
1 parent 6c6da5b commit d7a071a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/parse-module-specifier/parse-type.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,10 @@ test.prop([
.string()
.filter(
string =>
string.length > 1 && !string.startsWith(`/`) && !string.startsWith(`.`),
!builtinModules.includes(string) &&
string.length > 1 &&
!string.startsWith(`/`) &&
!string.startsWith(`.`),
),
])(`parses package imports`, moduleSpecifier => {
const type = parseType(moduleSpecifier)
Expand Down

0 comments on commit d7a071a

Please sign in to comment.