Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optional Task: Add first unit test #72

Open
farzaneh-haghani opened this issue Aug 4, 2023 · 0 comments
Open

Optional Task: Add first unit test #72

farzaneh-haghani opened this issue Aug 4, 2023 · 0 comments

Comments

@farzaneh-haghani
Copy link
Collaborator

Concepts

Tasks

function greeting(name, loggedIn) {
  if (loggedIn === true) {
    return $`Hello, ${name}`
  }
  return "Hello Guest"

}
  • Use this function (or something similar) in the react page
  • Add a jest test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Ready To Be Picked Up
Development

No branches or pull requests

1 participant