Skip to content
This repository was archived by the owner on Feb 26, 2023. It is now read-only.
This repository was archived by the owner on Feb 26, 2023. It is now read-only.

Can also greet my dad #51

@GoldenStack

Description

@GoldenStack

Hello.
I don't know if this is expected behaviour, but I can also greet my dad:

console.log(hiMom("Dad")); // Hi, Dad!

Thanks.

It appears as though there is a test case to avoid this:

test("should not say hi to dad", () => {
  expect(hiMom()).not.toBe("Hi, dad!");
});

but I can just put "Dad" in hiMom instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions