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

Chore: Test fixes for config-array-factory.js #13

Merged
merged 10 commits into from Oct 27, 2020
Merged

Chore: Test fixes for config-array-factory.js #13

merged 10 commits into from Oct 27, 2020

Conversation

nzakas
Copy link
Member

@nzakas nzakas commented Oct 22, 2020

I've converted all of the tests over, but three are still failing and I can't figure out why. Any help would be greatly appreciated.

@nzakas nzakas marked this pull request as ready for review October 23, 2020 16:48
@nzakas
Copy link
Member Author

nzakas commented Oct 23, 2020

Thanks @mdjermanovic for your help. All the tests are now passing! 🎉

@mdjermanovic
Copy link
Member

What's happening with macOS test, those look like real failures (not timeouts).

@nzakas
Copy link
Member Author

nzakas commented Oct 27, 2020

Huh, wasn’t happening before. I have no idea what the problem is and I don’t have a Mac to test locally.

@nzakas
Copy link
Member Author

nzakas commented Oct 27, 2020

Okay, so it looks like we are running into the infamous "temp directory on MacOS isn't returned correctly in Node.js" problem (nodejs/node#11422). I switched to using https://github.com/sindresorhus/temp-dir instead of the native utility. No idea why these tests weren't failing in the main repo before but all fixed now (with timeout!).

@nzakas nzakas merged commit 7890e02 into main Oct 27, 2020
@nzakas nzakas deleted the test-fixes branch October 27, 2020 18:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants