Skip to content

power-assert-js/intelli-espower-loader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 Cannot retrieve latest commit at this time.

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

intelli-espower-loader

Handy node module for power-assert and espower-loader.

Installation

npm install intelli-espower-loader --save-dev

You should also install power-assert.

npm install power-assert --save-dev 

Usage

1. (Optional) You have to set test directory to your package.json

{
    "name": "your-module",
    "description": "Your module",
    "version": "0.0.1",
    "directories": {
        "test": "test/"
    },
    "license": "MIT",
...
}
"directories": {
    "test": "test/"
}

If you didn't set directories.test, use 'test/' as default value.

2. Run mocha with intelli-espower-loader

mocha --require intelli-espower-loader

Run Test with power-assert on the fly!!

mocha

mocha with webstorm

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