feat(ivy): enable ng-reflect debug attributes (#27268)

PR Close #27268
This commit is contained in:
Olivier Combe
2018-11-21 13:43:00 +01:00
committed by Jason Aden
parent 32157115da
commit 2fce701ced
5 changed files with 65 additions and 44 deletions

View File

@ -614,15 +614,14 @@ class HiddenModule {
});
}));
fixmeIvy('to investigate') &&
it('should handle false values on attributes', async(() => {
renderModule(FalseAttributesModule, {document: doc}).then(output => {
expect(output).toBe(
'<html><head></head><body><app ng-version="0.0.0-PLACEHOLDER">' +
'<my-child ng-reflect-attr="false">Works!</my-child></app></body></html>');
called = true;
});
}));
it('should handle false values on attributes', async(() => {
renderModule(FalseAttributesModule, {document: doc}).then(output => {
expect(output).toBe(
'<html><head></head><body><app ng-version="0.0.0-PLACEHOLDER">' +
'<my-child ng-reflect-attr="false">Works!</my-child></app></body></html>');
called = true;
});
}));
it('should handle element property "name"', async(() => {
renderModule(NameModule, {document: doc}).then(output => {