Example project of power-assert + Karma + browserify.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
test
LICENSE
karma.conf.js
package.json
readme.md

readme.md

power-assert-karma-seed

Example project of power-assert + Karma + browserify.

Testing for Browser with power-assert.

gif

Installation

npm install
npm install -g karma-cli

Usage

Browser Testing

npm test
# or
karma start # and capture browser

Node.js Testing

mocha --require intelli-espower-loader

Integrate WebStorm

Run Debug mode(main use case is breakpoint)

  1. karma start
  2. Open http://localhost:9876/debug.html form WebStorm.
  3. We Can Set Breakpoint!!

webstorm config

More Detail on

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

License

MIT