Skip to content

MirekSz/karma-webpack-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

karma-webpack-example

Karma + Webpack + Mocha + Chai + Istanbul

##Installation

npm install

Run

npm run test

Remove --single-run to keep karma running. It will watch any changes on the test files and rerun instantly.

Output

> [email protected] test karma-webpack-example
> node ./node_modules/karma/bin/karma start --single-run --browsers PhantomJS

INFO [karma]: Karma v0.12.31 server started at http://localhost:9876/
INFO [launcher]: Starting browser PhantomJS
INFO [PhantomJS 1.9.8 (your OS)]: Connected on socket g34oTr_PlQaujbE5WlIJ with id 16200709

  hexColorLuminance
    V should return a luminanced color
    V should change the background of an element

PhantomJS 1.9.8 (your OS): Executed 2 of 2 SUCCESS (0.005 secs / 0 secs)
TOTAL: 2 SUCCESS

Gulp

added usage in a gulp scenario

try it via "npm run test-gulp" or simply "gulp" in the projects directory if you have gulp installed globally

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published