Skip to content

Commit

Permalink
Fix failing personnummer test
Browse files Browse the repository at this point in the history
  • Loading branch information
frozzare committed Feb 1, 2022
1 parent 5f8b5b1 commit 2cbc58f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,6 @@ it('should work with personnummer', () => {
expect(org.format(true)).toBe(output);
expect(org.type()).toBe(type);
expect(org.isPersonnummer()).toBeTruthy();
expect(org.personnummer()).toBeInstanceOf(Personnummer);
expect(org.personnummer().constructor.name).toBe('Personnummer');
});
});

0 comments on commit 2cbc58f

Please sign in to comment.