Replace quotes with backticks

This commit is contained in:
Kim Biesbjerg 2016-12-08 14:12:33 +01:00
parent 23d2a5eb9d
commit c2aac9c257

View File

@ -26,7 +26,7 @@ describe('DirectiveParser', () => {
});
it('should extract bound translate attribute as key if provided', () => {
const contents = '<div [translate]="\'KEY\'">Hello World<div>';
const contents = `<div [translate]="'KEY'">Hello World<div>`;
const messages = parser.process(templateFilename, contents);
expect(messages).to.deep.equal(['KEY']);
});