egor-smirnov / karma-commonjs-coffee Goto Github PK
View Code? Open in Web Editor NEWThis project forked from karma-runner/karma-commonjs
A Karma plugin. Test CommonJS modules with CoffeeScript support.
License: MIT License
This project forked from karma-runner/karma-commonjs
A Karma plugin. Test CommonJS modules with CoffeeScript support.
License: MIT License
Take a look at - https://github.com/lastday/karma-commonjs-coffee/blob/29cf49b5597a8a9e87cfb06b66d81e029e5f9754/lib/plugin.js#L34-L42
It's hardcoded for CoffeeScript, won't work for JS.
Obsolete include of initialization file in plugin.js
Provide some example when this plugin could be used.
After fixing #2 it appears that window.cjs_modules_root now blank.
If coffeescript file starts with ### then HTML format for karma-coverage is not working
After merging with original repository, tests added by me were broken. Should investigate and solve this.
Should process multiple files inside grunt "build" tasks. This is needed for generation of both "client/commonjs_bridge.js" and "client/commonjs_initialization.js".
When using karma-coverage with this preprocessor have a problem like this:
ERROR [coverage]: [TypeError: Cannot set property 'covered' of undefined]
TypeError: Cannot set property 'covered' of undefined
at /Library/WebServer/Documents/MyLorryApps/node_modules/karma-coverage/node_modules/istanbul/lib/report/html.js:175:66
And this is only for html reporter. Looks very similar to gotwarlost/istanbul#94
Want to also provide tests for preprocessor.
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.