Replace quotes with backticks
This commit is contained in:
parent
23d2a5eb9d
commit
c2aac9c257
@ -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']);
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user