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

- Added 100% coverage for utils/languages.js. #29

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

perdeepOsingh
Copy link

@perdeepOsingh perdeepOsingh commented Oct 20, 2018

  • Minor bug fixes:
    • Handled if no language/null is supplied to addLanguage().
    • Added check if invalid language is supplied to addLanguage().

PASS test/languages.test.js
PASS test/language-validator.test.js

Test Suites: 2 passed, 2 total
Tests: 10 passed, 10 total
Snapshots: 0 total
Time: 0.872s, estimated 1s
Ran all test suites.
-----------------------|----------|----------|----------|----------|-------------------|
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s |
-----------------------|----------|----------|----------|----------|-------------------|
All files | 100 | 100 | 100 | 100 | |
language-validator.js | 100 | 100 | 100 | 100 | |
languages.js | 100 | 100 | 100 | 100 | |
-----------------------|----------|----------|----------|----------|-------------------|

perdeepOsingh and others added 5 commits October 20, 2018 18:16
- Minor bug fixes:
   - Handling if no language/null is supplied to addLanguage().
   - Add check if invalid language is supplied to addLanguage().
… 3.*

>If both package.json and yarn.lock are present in the current directory, we run the following command instead of npm install.
- [ ] Checked, this fixes the issue where test failed for *Node.js: 5.11*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant