challenge-algorithms-v2.0-u.../01-greeting/intex.test.js
2022-10-27 11:07:13 -04:00

14 lines
507 B
JavaScript

import { greet } from "./."
describe("greet1", () => {
it("Dever retornar \"Hello Maria\" quando passamos a palavra \"Maria\"", () => {
expect(greet("Maria")).toBe("Hello Maria")
})
it("Dever retornar \"Hello Alvin\" quando passamos a palavra \"Alvin\"", () => {
expect(greet("Alvin")).toBe("Hello Alvin")
})
it("Dever retornar \"Hello Pedro Lucas\" quando passamos a palavra \"Pedro Lucas\"", () => {
expect(greet("Pedro Lucas")).toBe("Hello Pedro Lucas")
})
})