A WallabyJS postprocessor that ensures Angular 1.x source files are loaded in the correct error and avoid `[$injector:nomod]` errors
JavaScript
Latest commit cba67de May 2, 2016 @ryanwischkaemper Update README
Permalink
Failed to load latest commit information.
examples/simple
src
test
.babelrc
.editorconfig
.gitattributes
.gitignore
.istanbul.yml
.npmignore
.travis.yml
LICENSE
README.md
package.json
wallaby.js

README.md

Wallaby Angular Filesort Postprocessor

Build Status Coverage Status npm version Codacy Badge

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