style: Reformat test comment for line breaks (#35668)

PR Close #35668
This commit is contained in:
Miško Hevery 2020-02-25 09:28:13 -08:00 committed by atscott
parent 40da51f641
commit a4e956a7cf
1 changed files with 6 additions and 7 deletions

View File

@ -3460,13 +3460,12 @@ describe('styling', () => {
class MyApp {
// When the first view in the list gets CD-ed, everything works.
// When the second view gets CD-ed, the styling has already created the data structures
// in the `TView`. As a result when
// `[class.foo]` runs it already knows that `[class]` is a duplicate and hence it
// should check with it. While the resolution is happening it reads the value of the
// `[class]`, however `[class]` has not yet executed and therefore it does not have
// normalized value in its `LView`. The result is that the assertions fails as it
// expects an
// `KeyValueArray`.
// in the `TView`. As a result when `[class.foo]` runs it already knows that `[class]`
// is a duplicate and hence it can overwrite the `[class.foo]` binding. While the
// styling resolution is happening the algorithm reads the value of the `[class]`
// (because it overwrites `[class.foo]`), however `[class]` has not yet executed and
// therefore it does not have normalized value in its `LView`. The result is that the
// assertions fails as it expects an `KeyValueArray`.
}
TestBed.configureTestingModule({declarations: [MyApp, MyCmp, HostStylingsDir]});