question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Issue with karma-runner and the has-binary dep

See original GitHub issue

Also filed in the karma-runner repo: https://github.com/karma-runner/karma/issues/1534

I have some jasmine tests where the describe block is named toJSON. Somehow we get to this line of code in the has-binary module that this project depends on:

      if (obj.toJSON) {
        obj = obj.toJSON();
      }

toJSON isn’t a function so this just blows up.

Also, by the way, seems like that code is included twice in the socket.io.js bundle.

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
kentorcommented, Dec 15, 2016

yes i believe this is fixed

0reactions
darrachequesnecommented, Dec 13, 2016

@kentor @wesleycho was this fixed by 1.7.2?

Read more comments on GitHub >

github_iconTop Results From Across the Web

"npm install karma" fails on windows · Issue #1609 - GitHub
I have the latest version of node installed: C:\>npm -v 2.14.4 C:\>node -v v4.1.2 I try installing karma via the docs and I...
Read more >
Issue with Karma runner executing test cases - Stack Overflow
The problem is when I try to execute test cases it isn't executing any tests rather it just stuck at a point. When...
Read more >
Karma - Spectacular Test Runner for Javascript
The main goal for Karma is to bring a productive testing environment to developers. The environment being one where they don't have to...
Read more >
third party component notices - Grammarly
The below listed Third Party Components may be contained in the Software, Services, or Site. These Third-Party Component notices are ...
Read more >
Karma Runner - Stryker Mutator
Bring your own test runner​ ... Note: karma v2.0.3 has a known issue which makes it impossible to use it with Stryker. please...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found