Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests fail on macOS/Linux #13

Closed
andrewbranch opened this issue Jul 28, 2021 · 1 comment
Closed

Tests fail on macOS/Linux #13

andrewbranch opened this issue Jul 28, 2021 · 1 comment

Comments

@andrewbranch
Copy link
Collaborator

This is what I get on my machine:

  ● option_empty_argv

    expect(received).toEqual(expected) // deep equality

    Expected: "/Users/anbranc/Developer/microsoft/TS-transform-project/C:\\TSuser\\src\\tsconfig.json"
    Received: "/Users/anbranc/Developer/microsoft/TS-transform-project/C:\\TSuser\\src/tsconfig.json"

Both the expected and received look fishy to me. We should probably avoid hard-coding Windows-style paths into tests as they’ll behave differently on different OSes.

@andrewbranch
Copy link
Collaborator Author

This is fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant