Skip to content
This repository has been archived by the owner on Aug 28, 2017. It is now read-only.

More tests please #10

Merged
merged 4 commits into from
Aug 11, 2015
Merged

More tests please #10

merged 4 commits into from
Aug 11, 2015

Conversation

rgbkrk
Copy link
Member

@rgbkrk rgbkrk commented Aug 10, 2015

This adds an extra check for the javascript transform and the index.js file.

I didn't add one to SVG because there's not much and we don't do any validation in there...

assert.equal(PDFTransform.mimetype, 'application/pdf');
assert.equal(SVGTransform.mimetype, 'image/svg+xml');
});
});
Copy link
Contributor

Choose a reason for hiding this comment

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

Why add an index test, when all of the tests import their respective transforms from index too? You are testing twice.

Copy link
Member Author

Choose a reason for hiding this comment

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

OH they sure do! Thanks!

jdfreder added a commit that referenced this pull request Aug 11, 2015
@jdfreder jdfreder merged commit 7a3ea2e into nteract:master Aug 11, 2015
@jdfreder
Copy link
Contributor

Awesome! Thanks

@rgbkrk rgbkrk deleted the more-tests-please branch August 11, 2015 02:51
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants