Permalink
Browse files

feat(platform-server): update domino to v2.1.0 (#25564)

PR Close #25564
  • Loading branch information...
CaerusKaru authored and kara committed Aug 18, 2018
1 parent 8f0fcc3 commit 3fb0da2de56ec85206b410a68b8d41cd23355e24
View
@@ -80,7 +80,7 @@
"cors": "2.8.4",
"dependency-graph": "^0.7.2",
"diff": "^3.5.0",
"domino": "2.0.1",
"domino": "2.1.0",
"entities": "1.1.1",
"firefox-profile": "1.0.3",
"fs-extra": "4.0.2",
@@ -309,7 +309,11 @@ describe('elements', () => {
}
const comp = renderComponent(MyComponent);
expect(toHtml(comp)).toEqual('<div></div>');
// This is a fix for a change in how Domino renders this on the server in v2.1.0
const source = toHtml(comp);
const matches = source === '<div></div>' || source === '<div class=""></div>';
expect(matches).toBeTruthy();
comp.someFlag = true;
$r3$detectChanges(comp);
@@ -21,7 +21,7 @@
"@angular/platform-browser-dynamic": "0.0.0-PLACEHOLDER"
},
"dependencies": {
"domino": "^2.0.1",
"domino": "^2.1.0",
"tslib": "^1.9.0",
"xhr2": "^0.1.4"
},
@@ -588,7 +588,7 @@ class HiddenModule {
expect(output).toContain('Works!');
expect(output).toContain('ng-trigger-myAnimation');
expect(output).toContain('opacity:1;');
expect(output).toContain('transform:translate3d(0, 0, 0);');
expect(output).toContain('transform:translate3d(0 , 0 , 0);');
expect(output).toContain('font-weight:bold;');
called = true;
});
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

0 comments on commit 3fb0da2

Please sign in to comment.