feat(platform-server): update domino to v2.1.0 (#25564)
PR Close #25564
This commit is contained in:

committed by
Kara Erickson

parent
8f0fcc3f71
commit
3fb0da2de5
@ -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);
|
||||
|
Reference in New Issue
Block a user