From 36928e253d0c12894a7030404a2aa2bcea088ab8 Mon Sep 17 00:00:00 2001 From: Kim Biesbjerg Date: Thu, 13 Jun 2019 11:44:30 +0200 Subject: [PATCH] (test) add test. closes #104 --- tests/parsers/function.parser.spec.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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']); }); });