Skip to content

Commit fd29da9

Browse files
committed
test(models): fix unit tests
1 parent 31072f8 commit fd29da9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/models/src/lib/implementation/schemas.unit.test.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,9 @@ describe('globPathSchema', () => {
8181
it.each(['path<file.js', 'path>file.js', 'path"file.js', 'path|file.js'])(
8282
'should throw for invalid path with forbidden character: %s',
8383
pattern => {
84-
expect(() => globPathSchema.parse(pattern)).toThrow();
84+
expect(() => globPathSchema.parse(pattern)).toThrow(
85+
'valid file path or glob pattern',
86+
);
8587
},
8688
);
8789
});

0 commit comments

Comments
 (0)