tylerc / karma-jstd-adapter Goto Github PK
View Code? Open in Web Editor NEWAn adapter for karma, so you can run your js-test-driver tests.
An adapter for karma, so you can run your js-test-driver tests.
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.
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:
npm install karma-jstd-adapter
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.
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.