Skip to content

Test in router/routes_test.ts doesn't close a file it opens #2

@camp5456

Description

@camp5456

In router/routes_test.ts, the test named "GET /styles.css serves the stylesheet"

This test checks that the stylesheet loads correctly. The website feature itself works fine but the test opens a file and never closes it, so our test flags it as a "leak" and marks the whole test as failed, even though nothing is actually broken in the app.

Needs a cleanup fix so make test passes cleanly again.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions