frankthelen/chai-quantifiers

View on GitHub
src/chai-quantifiers.js

Summary

Maintainability
A
0 mins
Test Coverage

Function plugin has 27 lines of code (exceeds 25 allowed). Consider refactoring.
Wontfix

const plugin = (chai) => {
  chai.Assertion.addMethod('containAll', function func(predicate) {
    const array = this._obj; // eslint-disable-line no-underscore-dangle
    const { f } = evaluate(array, predicate);
    this.assert(
Severity: Minor
Found in src/chai-quantifiers.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status