Skip to content

Instantly share code, notes, and snippets.

@qunabu
Created November 26, 2020 10:37
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save qunabu/4f6e82a2ded7e4b77194adfbb434c26b to your computer and use it in GitHub Desktop.
it("should add a user in memory", () => {
userManager.addUser("Dr. Falker", "Joshua");
expect(userManager._users[0].name).toBe("Dr. Falker");
expect(userManager._users[0].password).toBe("Joshua");
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment