intelli-espower-loader
Make espower-lodaer config file unnecessary.
Last updated 5 years ago by twada .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install intelli-espower-loader 
SYNC missed versions from official npm registry.

intelli-espower-loader Build Status

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

See example/

1. Put test script in test folder

The default folder is "test/". You must put your test script in this folder.

If you don't put your test code in the right folder, intelli-espower-loader will work incorrectly.

You can change test folder setting in your package.json

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

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

Current Tags

  • 1.1.0                                ...           latest (5 years ago)

16 Versions

  • 1.1.0                                ...           5 years ago
  • 1.0.1                                ...           10 years ago
  • 1.0.0                                ...           11 years ago
  • 0.7.0                                ...           11 years ago
  • 0.6.0                                ...           11 years ago
  • 0.5.0                                ...           11 years ago
  • 0.4.0                                ...           12 years ago
  • 0.3.0                                ...           12 years ago
  • 0.2.0                                ...           12 years ago
  • 0.1.0                                ...           12 years ago
  • 0.0.7                                ...           12 years ago
  • 0.0.6                                ...           12 years ago
  • 0.0.5                                ...           12 years ago
  • 0.0.4                                ...           12 years ago
  • 0.0.3                                ...           12 years ago
  • 0.0.2                                ...           12 years ago
Maintainers (2)
Downloads
Today 0
This Week 0
This Month 15
Last Day 0
Last Week 15
Last Month 1
Dependencies (1)
Dev Dependencies (1)
Dependents (1)

Copyright 2013 - present © cnpmjs.org | Home |