AugurProject/augur-ui

View on GitHub
integration/trading.test.ts

Summary

Maintainability
A
3 hrs
Test Coverage

File trading.test.ts has 313 lines of code (exceeds 250 allowed). Consider refactoring.
Open

"use strict";

import "jest-environment-puppeteer";
import { UnlockedAccounts } from "./constants/accounts";
import { waitNextBlock } from "./helpers/wait-new-block";
Severity: Minor
Found in integration/trading.test.ts - About 3 hrs to fix

    TODO found
    Open

        // TODO: Figure out why first publicTrade call fails after Approve in integration test. (This does not happen when using the UI manually.)
    Severity: Minor
    Found in integration/trading.test.ts by fixme

    TODO found
    Open

    const timeoutMilliseconds = 20000; // TODO: Figure out a way to reduce timeout required for certain DOM elements
    Severity: Minor
    Found in integration/trading.test.ts by fixme

    There are no issues that match your filters.

    Category
    Status