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

Jasmine Specs - Second spec of describe('Add correct letters') is incorrect #241

Closed
lockeas16 opened this issue Feb 14, 2019 · 2 comments
Closed
Labels

Comments

@lockeas16
Copy link

The second spec describing function addCorrectLetter refers to function checkClickedLetters and not its own function:

   it('addCorrectLetter should receive a number', function () {
      var key = 'N';
      hangman.checkClickedLetters(key);
      expect(typeof (key)).toBe('string');
    });

when it should be something like this:

   it('addCorrectLetter should receive a number', function () {
      var key = 65;
      hangman.addCorrectLetter(key);
      expect(typeof (key)).toBe('number');
    });
@stale
Copy link

stale bot commented Dec 24, 2019

This pull request has been automatically marked as stale because it didn't have any recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Dec 24, 2019
@stale
Copy link

stale bot commented Dec 26, 2019

This pull request is closed. Thank you.

@stale stale bot closed this as completed Dec 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant