diff --git a/src/__tests__/syntax-test.js b/src/__tests__/syntax-test.js index 82da3ac9b..e361387af 100644 --- a/src/__tests__/syntax-test.js +++ b/src/__tests__/syntax-test.js @@ -2,7 +2,14 @@ import fs from 'fs'; import glob from 'glob'; -const BLACK_LIST = ['fdescribe', 'fit', 'xdescribe', 'xit']; +const BLACK_LIST = [ + 'fdescribe', + 'fit', + 'xdescribe', + 'xit', + 'it\\.only', + 'describe\\.only', +]; const REGEXS = BLACK_LIST.map(token => new RegExp(`^\\s*${token}\\(.*`)); describe('Syntax and test validation', () => {