This app provides monitoring and information features for the common freifunk user and the technical stuff of a freifunk community. Code base is taken from a TUM Practical Course project and added here to see if Freifunk Altdorf can use it. https://www.freifunk-altdorf.de
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Bernhard Blieninger fc05486403 initial commit taken from gitlab.lrz.de 6 years ago
..
node_modules initial commit taken from gitlab.lrz.de 6 years ago
CHANGELOG.md initial commit taken from gitlab.lrz.de 6 years ago
LICENSE.txt initial commit taken from gitlab.lrz.de 6 years ago
README.md initial commit taken from gitlab.lrz.de 6 years ago
index.js initial commit taken from gitlab.lrz.de 6 years ago
package.json initial commit taken from gitlab.lrz.de 6 years ago

README.md

test-exclude

The file include/exclude logic used by nyc.

Build Status Coverage Status Standard Version Greenkeeper badge

Usage

const exclude = require('test-exclude')
if (exclude().shouldInstrument('./foo.js')) {
  // let's instrument this file for test coverage!
}

you can load configuration from a key in package.json:

package.json

{
  "name": "awesome-module",
  "test": {
    "include": ["**/index.js"]
  }
}

app.js

const exclude = require('test-exclude')
if (exclude({configKey: 'test'}).shouldInstrument('./index.js')) {
  // let's instrument this file for test coverage!
}

Including node_modules folder

by default the node_modules folder is added to all groups of exclude rules. In the rare case that you wish to instrument files stored in node_modules, a negative glob can be used:

const exclude = require('test-exclude')
const e = exclude({
  exclude: ['!**/node_modules/**']
})

License

ISC