feathersjs/feathers-offline-realtime

View on GitHub
test/commons/helpers/optimistic-mutator-online.test.js

Summary

Maintainability
D
2 days
Test Coverage

Function default has 358 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export default function (Replicator, desc) {
  describe(`${desc} - optimistic mutation online`, () => {
    let data;
    let fromService;
    let replicator;
Severity: Major
Found in test/commons/helpers/optimistic-mutator-online.test.js - About 1 day to fix

    File optimistic-mutator-online.test.js has 396 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    
    const assert = require('chai').assert;
    const feathers = require('feathers');
    const memory = require('feathers-memory');
    const hooks = require('feathers-hooks');
    Severity: Minor
    Found in test/commons/helpers/optimistic-mutator-online.test.js - About 5 hrs to fix

      There are no issues that match your filters.

      Category
      Status