Skip to content

Commit 468da15

Browse files
fix: replace as any with as unknown as string in test
1 parent f422834 commit 468da15

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/passport/passport.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ describe("passport", () => {
1010
describe("isValidPassport", () => {
1111
describe("should return false", () => {
1212
test("when passport is not a string", () => {
13-
expect(isValidPassport(1 as any)).toBe(false);
13+
expect(isValidPassport(1 as unknown as string)).toBe(false);
1414
});
1515

1616
test("when passport length is different from 8", () => {

0 commit comments

Comments
 (0)