Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fix unit tests on Windows #604

Open
Open
@EhabY

Description

@EhabY

It seems that some unit tests fail on Windows due to a few reasons:

  1. The path separator is\ instead of/, this applies to a lot of tests that might usepath.normalize orpath.join
  2. The escaping of environment variables uses' instead of"
  3. Some tests inheaders.test.ts for some reason (executes a bash script perhaps?)
  4. cliManager.test.ts:validates downloaded binary version seems to be flakey on Windows, might have to do with the mock stream not flushing the content fully (expectsmock-binary-v1.2.3 but actual ismock-bin and sometimesmock-binary-v1.2) - Fixed in4d93456

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


      [8]ページ先頭

      ©2009-2025 Movatter.jp