diff --git a/tests/parsers/function.parser.spec.ts b/tests/parsers/function.parser.spec.ts index 50b9cec..6d90d1b 100644 --- a/tests/parsers/function.parser.spec.ts +++ b/tests/parsers/function.parser.spec.ts @@ -21,9 +21,10 @@ describe('FunctionParser', () => { otherFunction('But I am not'); _(message || 'binary expression'); _(message ? message : 'conditional operator'); + _('FOO.bar'); `; const keys = parser.extract(contents, componentFilename).keys(); - expect(keys).to.deep.equal(['Hello world', 'I', 'am', 'extracted', 'binary expression', 'conditional operator']); + expect(keys).to.deep.equal(['Hello world', 'I', 'am', 'extracted', 'binary expression', 'conditional operator', 'FOO.bar']); }); });