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

Add & setup jest & istanbul #25

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

Add & setup jest & istanbul #25

wants to merge 1 commit into from

Conversation

Atul9
Copy link

@Atul9 Atul9 commented Feb 2, 2018

closes #19

Copy link
Owner

@rae-ralston rae-ralston left a comment

Choose a reason for hiding this comment

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

Hey @Atul9,
Great start. Let's keep to es6 syntax, see my comments.
Some things have come up, so it might take me a couple days to get CI initialized.
submit a new PR with these changes and I'll merge you.

@@ -1,3 +1,5 @@
export function convertToURI(str) {
function convertToURI(str) {
Copy link
Owner

Choose a reason for hiding this comment

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

change this back to the non-default es6 export syntax.

@@ -0,0 +1,4 @@
var convertToURI = require('../src/helpers.js')
Copy link
Owner

Choose a reason for hiding this comment

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

let's stick to es6 import syntax
import { converToUri } from '../src/helpers'

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.

set up jest for testing and istanbul for coverage check
2 participants