(test) add test. closes #104
This commit is contained in:
parent
230b13e245
commit
36928e253d
@ -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']);
|
||||
});
|
||||
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user