Giter Site home page Giter Site logo

karma-jstd-adapter's People

Contributors

aboks avatar tylerc avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

karma-jstd-adapter's Issues

HTML insertion does not work

As you already mentioned in the readme. Just wanted to confirm it. Might be possible to do this client side with function toString method. Might have a stab at it.

Incorrect naming of package when installed from npm

Hello,
First I would like to thank you for this project. It helped me a lot.

When package is installed using npm install karma doesn't cooperate with this. It is caused by package naming. Karma automatically search and try to load every plugin with pattern node_modules/karma*.

As your package is not karma plugin it cause errors because that module cannot be loaded by karma.

To reproduce that:

  1. Install whole karma environment
  2. npm install karma-jstd-adapter
  3. Set logLevel to config.LOG_DEBUG in karma config
  4. karma start

In result you could see that there is an error while loading karma-jstd-adapter plugin (Even if you do not reference to that file implicitly in karma config file). To fix that I just used plain .js file from outside of node_modules and from node_modules I removed karma-jstd-adapter.

jstd-adaptor.js does not work under IE8

Due to use of Array.prototype.reduce in beforeRun (line 7609) jstd-adaptor doesn't run correctly under IE8.

We could load polyfill libraries for the sake of running the tests but that makes it impossible to test code which comes packaged with polyfills.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.