Skip to content

Failing test on Windows: functionality.js hardcodes forward slash #1451

Description

@ashish3011

Environment information

Version: 2.2.0

Platform: WINDOWS

Node.js version: 22.0.0

Any other relevant information:

What steps will reproduce the bug?

when running tests on Windows, should rename the destination directory to a different directory fails because assert.ok(req.files[0].path.indexOf('/testforme-') >= 0) hardcodes a forward slash, which fails against Windows backslash paths.

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

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions