-
-
Save alanbsmith/1ff00ca0a525d37d2fc879cc6ddcc2ed to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// __tests__/validatePhone.js | |
... | |
it("should support an optional US country code", () => { | |
const validator = validatePhone("+1(202) 224 3121"); | |
expect(validator).toBe(true); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment