Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 366 Bytes

no-unknown-modifiers.md

File metadata and controls

27 lines (18 loc) · 366 Bytes

Prevent the use of unknown test modifiers

Prevent the use of unknown test modifiers.

Fail

import test = from 'tape';

test.onlu(t => {});
test.seril(t => {});
test.only.onlu(t => {});
test.beforeeach(t => {});
test.unknown(t => {});

Pass

import test = from 'tape';

test.only(t => {});
test.skip(t => {});
test.skip.only(t => {});