build: add bazel test rules for remainder of packages (#21053)
PR Close #21053
This commit is contained in:
@ -9,7 +9,7 @@
|
||||
import {describe, expect, it} from '../../../core/testing/src/testing_internal';
|
||||
import {CssLexer, CssLexerMode, CssToken, CssTokenType, cssScannerError, getRawMessage, getToken} from '../../src/css_parser/css_lexer';
|
||||
|
||||
(function(){
|
||||
(function() {
|
||||
function tokenize(
|
||||
code: string, trackComments: boolean = false,
|
||||
mode: CssLexerMode = CssLexerMode.ALL): CssToken[] {
|
||||
|
@ -115,7 +115,7 @@ function _getCaptureAst(capture: any[], index = 0): CssAst {
|
||||
return <CssAst>capture[index][0];
|
||||
}
|
||||
|
||||
(function(){
|
||||
(function() {
|
||||
function parse(cssCode: string, ignoreErrors: boolean = false) {
|
||||
const output = new CssParser().parse(cssCode, 'some-fake-css-file.css');
|
||||
const errors = output.errors;
|
||||
|
Reference in New Issue
Block a user