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

nativeParseInt is not a function #850

Closed
screendriver opened this issue Apr 13, 2016 · 2 comments
Closed

nativeParseInt is not a function #850

screendriver opened this issue Apr 13, 2016 · 2 comments

Comments

@screendriver
Copy link

My code to test uses some lodash functions like _.parseInt(). In Test'em they throw following error

TypeError: nativeParseInt is not a function
    at parseInt (http://localhost:7357/565/src/jspm_packages/npm/lodash@4.10.0/parseInt.js:47:10)

When I don't use Test'em (e.g. a mocha HTML page hostet with broswer-sync) the error disappears.

Does somebody has any idea what's going on here?

@johanneswuerbach
Copy link
Member

Do you do any transpiling usually before running your tests? Looks like testem is shipping the raw sources.

@screendriver
Copy link
Author

Yes. I am using jspm, SystemJS and ES2015 with the Babel transpiler.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants