Skip to content

Commit

Permalink
Remove url regex from test
Browse files Browse the repository at this point in the history
  • Loading branch information
xenosf committed Apr 1, 2024
1 parent 52e76c0 commit ed938c4
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/web/types/const.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,6 @@ describe('Constants', () => {

// Here we test that the constants are strings
it('should generate string constants correctly', () => {
expect(typeof ApiStringConst.URL_REGEX).toEqual('string');
expect(() => new RegExp(ApiStringConst.URL_REGEX)).not.toThrow();
expect(typeof ApiStringConst.EMAIL_REGEX).toEqual('string');
expect(() => new RegExp(ApiStringConst.EMAIL_REGEX)).not.toThrow();
});
Expand Down

0 comments on commit ed938c4

Please sign in to comment.