Created
July 22, 2020 20:52
-
-
Save sleroy/1333e02849836dc9e2501d8fd51598fb to your computer and use it in GitHub Desktop.
Ponicode generated test
This file contains hidden or 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
const rewire = require("rewire") | |
const example = rewire("./example") | |
const isFrenchPhoneNumber = example.__get__("isFrenchPhoneNumber") | |
// @ponicode | |
describe("isFrenchPhoneNumber", () => { | |
test("0", () => { | |
let result = isFrenchPhoneNumber("+33688261221") | |
expect(result).toBe(true) | |
}) | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment