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

Adds test for duplicate quotes #510

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nessieSnippets
Copy link

Adds Mocha for tests - trying to keep inline with Issue #257 & the PRs already raised for that.
Uses Javascript Set to test if all entries are unique. Quotes are lowercased, punctuation stripped before checks.
Duplicate quotes are output to local file for review

Thoughts / feedback much appreciated if this is a useful approach 😄

- mocha & chai for tests
- duplicate quotes are output to local file for review
@vinitshahdeo vinitshahdeo self-requested a review October 21, 2019 15:57
@vinitshahdeo vinitshahdeo added new-quote new quote entry source of truth missing Please provide the relevant link to the quote labels Oct 21, 2019
@vinitshahdeo
Copy link
Owner

@nessieSnippets Thanks for the PR. I'll review and merge it soon.

You may look into a few good first issues which are up for grabs.

Link to the repository

@vinitshahdeo vinitshahdeo added for-new-contributors Kick start your Open-Source journey good first issue Good for newcomers hacktoberfest Send PR and earn a free t-shirt labels Oct 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
for-new-contributors Kick start your Open-Source journey good first issue Good for newcomers hacktoberfest Send PR and earn a free t-shirt new-quote new quote entry source of truth missing Please provide the relevant link to the quote
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants