packages/__tests__/src/3-runtime-html/has-multi-bindings.unit.spec.ts
File has-multi-bindings.unit.spec.ts
has 358 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
import { Char } from '../util.js';
import { assert } from '@aurelia/testing';
describe('3-runtime-html/has-multi-bindings.unit.spec.ts', function () {
interface IBindingSpec {
Function parse
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function parse(value: string): { target: string; rawValue: string }[] {
const valueLength = value.length;
const pairs: { target: string; rawValue: string }[] = [];
let attrName: string | undefined = void 0;