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

assert.file is not case sensitive #33

Open
mjungwir opened this issue Jan 22, 2020 · 1 comment
Open

assert.file is not case sensitive #33

mjungwir opened this issue Jan 22, 2020 · 1 comment

Comments

@mjungwir
Copy link

I discovered with a test that failed on a build server and passed locally that the underlying fs.existsSync depends on the OS' case sensitivity. I know this project won't be addressing the fs methods but I was wondering if there was any discussion to be had around finding a way to opt in or out of asserting files with case sensitivity.

@JoshuaKGoldberg
Copy link

👍 I think this is a reasonable feature request. Case sensitivity is a pain to debug if something is off. I think it'd make sense to mark this as accepting add a third parameter to assert.file & similar methods for options. That parameter can start with a single property like caseSensitive?: boolean.

WDYT @UlisesGascon?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

2 participants