aurelia/aurelia

View on GitHub
packages/__tests__/src/3-runtime-html/has-multi-bindings.unit.spec.ts

Summary

Maintainability
B
5 hrs
Test Coverage

File has-multi-bindings.unit.spec.ts has 358 lines of code (exceeds 250 allowed). Consider refactoring.
Open

import { Char } from '../util.js';
import { assert } from '@aurelia/testing';

describe('3-runtime-html/has-multi-bindings.unit.spec.ts', function () {
  interface IBindingSpec {
Severity: Minor
Found in packages/__tests__/src/3-runtime-html/has-multi-bindings.unit.spec.ts - About 4 hrs to fix

    Function parse has 34 lines of code (exceeds 25 allowed). Consider refactoring.
    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;

      There are no issues that match your filters.

      Category
      Status