Skip to content

Commit

Permalink
fixup! feat(platform-server): update domino to v2.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
CaerusKaru committed Aug 20, 2018
1 parent a507508 commit 4b63df1
Showing 1 changed file with 5 additions and 1 deletion.
Expand Up @@ -311,7 +311,11 @@ describe('elements', () => {
}

const comp = renderComponent(MyComponent);
expect(toHtml(comp)).toEqual('<div class=""></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);
Expand Down

0 comments on commit 4b63df1

Please sign in to comment.