juice-shop/juice-shop

View on GitHub
test/api/quantityApiSpec.ts

Summary

Maintainability
A
2 hrs
Test Coverage

File quantityApiSpec.ts has 313 lines of code (exceeds 300 allowed). Consider refactoring.
Open

/*
 * Copyright (c) 2014-2024 Bjoern Kimminich & the OWASP Juice Shop contributors.
 * SPDX-License-Identifier: MIT
 */

Severity: Minor
Found in test/api/quantityApiSpec.ts - About 2 hrs to fix

    TODO found
    Open

      xit('GET quantity of all items for accounting users from IP 123.456.789', () => { // TODO Check if possible to set IP in frisby tests
    Severity: Minor
    Found in test/api/quantityApiSpec.ts by fixme

    TODO found
    Open

      xit('PUT quantity as accounting user from IP 123.456.789', () => { // TODO Check if possible to set IP in frisby tests
    Severity: Minor
    Found in test/api/quantityApiSpec.ts by fixme

    There are no issues that match your filters.

    Category
    Status