refactor(ivy): abstract all styling-related compiler logic into a shared class (#27043)
PR Close #27043
This commit is contained in:

committed by
Andrew Kushnir

parent
8b9249a670
commit
095b6e8113
@ -5,9 +5,9 @@
|
||||
* Use of this source code is governed by an MIT-style license that can be
|
||||
* found in the LICENSE file at https://angular.io/license
|
||||
*/
|
||||
import {hyphenate, parseStyle, stripUnnecessaryQuotes} from '../../src/render3/view/styling';
|
||||
import {hyphenate, parse as parseStyle, stripUnnecessaryQuotes} from '../../src/render3/view/style_parser';
|
||||
|
||||
describe('inline css style parsing', () => {
|
||||
describe('style parsing', () => {
|
||||
it('should parse empty or blank strings', () => {
|
||||
const result1 = parseStyle('');
|
||||
expect(result1).toEqual({});
|
Reference in New Issue
Block a user