@putout/plugin-tape
Version:
🐊Putout plugin helps with tests
24 lines (21 loc) • 490 B
JavaScript
import {operator} from 'putout';
const {addArgs} = operator;
const {
report,
fix,
traverse,
} = addArgs({
t: ['t', [
'test("__a", (__args) => __body)',
'test("__a", async (__args) => __body)',
'test.only("__a", (__args) => __body)',
'test.only("__a", async (__args) => __body)',
'test.skip("__a", (__args) => __body)',
'test.skip("__a", async (__args) => __body)',
]],
});
export {
report,
fix,
traverse,
};