diff --git a/syntaxes/fjsx15/jest.sublime-syntax b/syntaxes/fjsx15/jest.sublime-syntax index bacf7c33..ff6e0183 100644 --- a/syntaxes/fjsx15/jest.sublime-syntax +++ b/syntaxes/fjsx15/jest.sublime-syntax @@ -38,7 +38,12 @@ contexts: | describe | it | test - ))\b(?=(?>only|skip)) + ))\b + (?= + (?> \.(?>only|skip) + | \s*\( + ) + ) captures: 1: support.function.jest.fn.js.fjsx15 set: [