fix(platform-browser): insert APP_ID in styles, contentAttr and hostAttr (#17745)
PR Close #17745
This commit is contained in:

committed by
Igor Minar

parent
3ea8d651cc
commit
712d60e467
@ -27,7 +27,8 @@ describe('functional test for todo', () => {
|
||||
const toDoAppComponent = (window as any).toDoAppComponent;
|
||||
await whenRendered(toDoAppComponent);
|
||||
|
||||
const styleContent = findStyleTextForSelector('.todo-list\\\[_ngcontent-\\\w+\\\]');
|
||||
const styleContent =
|
||||
findStyleTextForSelector('.todo-list\\\[_ngcontent-[a-z]+-\\\w+\\\]');
|
||||
expect(styleContent).toMatch(/font-weight:\s*bold;/);
|
||||
expect(styleContent).toMatch(/color:\s*#d9d9d9;/);
|
||||
}));
|
||||
|
Reference in New Issue
Block a user