wallaby-angular-filesort
v1.0.0
Published
WallabyJS preprocessor to sort AngularJS files
Downloads
6
Maintainers
Readme
Wallaby Angular Filesort Postprocessor
#Installation
npm install wallaby-angular-filesort --save-dev
Usage
Wallaby.js configuration
var wallabyAngularFilesort = require('wallaby-angular-filesort');
var wallabyPostprocessor = wallabyAngularFilesort.create({
whitelist: ['src/**/*.js']
});
module.exports = function (wallaby) {
return {
files: [
// load Angular source files normally (instrumented = true and loaded = true)
],
tests: [
'test/**/*Spec.js'
],
postprocessor: wallabyPostprocessor
};
};
Contributing
Pull requests and stars are always welcome. For bugs and feature requests, please create an issue
Building
npm install
npm run build
Running Tests
Tests can be run with npm
or with WallabyJS if that is available to you.
Run once via npm
:
npm test
Run continuously while watching for changes via npm
:
npm run test:watch