Skip to content

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

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions