Skip to content

Commit 4558f23

Browse files
cgcgbcbcsindresorhus
authored andcommitted
update no-unknown-modifier rules, resolve #107 (#109)
1 parent c3d99fb commit 4558f23

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

rules/no-unknown-modifiers.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ var modifiers = [
1111
'only',
1212
'serial',
1313
'skip',
14-
'todo'
14+
'todo',
15+
'failing'
1516
];
1617

1718
function getTestModifiers(node) {

test/no-unknown-modifiers.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ test(() => {
2727
`${header} test.todo(t => {});`,
2828
`${header} test.after.always(t => {});`,
2929
`${header} test.afterEach.always(t => {});`,
30+
`${header} test.failing(t => {});`,
3031
// shouldn't be triggered since it's not a test file
3132
`test.foo(t => {});`
3233
],

0 commit comments

Comments
 (0)