|
|
@ -256,7 +256,7 @@ describe('parser', () => { |
|
|
|
expect(ast2.classBinding).toBe('class1') |
|
|
|
// interpolation warning
|
|
|
|
parse('<p class="{{error}}">hello world</p>', baseOptions) |
|
|
|
expect('Interpolation inside attributes has been deprecated').toHaveBeenWarned() |
|
|
|
expect('Interpolation inside attributes has been removed').toHaveBeenWarned() |
|
|
|
}) |
|
|
|
|
|
|
|
it('style binding', () => { |
|
|
@ -318,7 +318,7 @@ describe('parser', () => { |
|
|
|
expect(ast1.attrs[2].value).toBe('"hello world"') |
|
|
|
// interpolation warning
|
|
|
|
parse('<input type="text" name="field1" value="{{msg}}">', baseOptions) |
|
|
|
expect('Interpolation inside attributes has been deprecated').toHaveBeenWarned() |
|
|
|
expect('Interpolation inside attributes has been removed').toHaveBeenWarned() |
|
|
|
}) |
|
|
|
|
|
|
|
if (!isIE) { |
|
|
|