timhaley94/holdem

View on GitHub
server/src/loaders/locks/__mocks__/index.js

Summary

Maintainability
A
1 hr
Test Coverage

Function take has 27 lines of code (exceeds 25 allowed). Consider refactoring.
Open

async function take(model, id) {
  const key = lockName(model, id);
  const value = uuid();

  const get = async (n = retryCount) => {
Severity: Minor
Found in server/src/loaders/locks/__mocks__/index.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status