npm

Need private packages and team management tools?Check out npm Orgs. »

@putout/plugin-remove-skip

2.0.0 • Public • Published

putout-plugin-remove-skip NPM version Dependency Status

putout plugin adds ability to find and remove test.skip calls.

Install

npm i @putout/plugin-remove-skip -D

Rule

Rule remove-skip enabled by default, to disable add to .putout.json:

{
    "rules": {
        "remove-skip": false
    }
}

Usage

const {readFileSync} = require('fs');
const source = readFileSync('./1.js', 'utf8');
 
const putout = require('putout');
 
console.log(source);
// outputs
`
test.skip('some test', (t) => {
    t.end();
});
`
 
const result = putout(source, {
    plugins: [
        'remove-skip'
    ]
});
// returns
`
test('some test', (t) => {
    t.end();
});
`

License

MIT

install

npm i @putout/plugin-remove-skip

Downloadsweekly downloads

814

version

2.0.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability