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

Jest #2002

Merged
merged 2 commits into from Mar 23, 2019
Merged

Jest #2002

merged 2 commits into from Mar 23, 2019

Conversation

jdlrobson
Copy link
Collaborator

Description: What does this PR achieve?

Test framework and test coverage, enforced by Travis CI.

Closes #1999

There are other JS files around the repo so let's lint those
as well.
From now on we'll write unit tests to strengthen our code.
I begin by writing tests for two simple files.
In the process, I discover a bug in htmlquote (which I fix!)
Code coverage is reported and lowest coverage possible is defined
in package.json. We will work towards increasing this with time
as we refactor. For now code coverage is 1%.. you have to start
somewhere!!

Fixes: internetarchive#1999
Copy link
Member

@mekarpeles mekarpeles left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is a great start, thank you!!

@mekarpeles mekarpeles merged commit 0818d6b into internetarchive:master Mar 23, 2019
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

2 participants