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

globalConfig.json file location change #214

Closed
bbourn opened this issue Jul 13, 2020 · 3 comments · Fixed by #359
Closed

globalConfig.json file location change #214

bbourn opened this issue Jul 13, 2020 · 3 comments · Fixed by #359

Comments

@bbourn
Copy link

bbourn commented Jul 13, 2020

Whether on purpose or not, the location of the globalConfig.json changed to my projects root directory instead of @sheldfio in node_modules jest-mongodb root.

I have my own custom environment and have to deal with this file manually. This broke my test environment until I put in a check for the new location.

@farhantahir
Copy link

Its happened to me as well, I added the file to .gitignore.

@afrittella
Copy link

afrittella commented Jul 16, 2020

Yep, it's here:
0b0161c

Alternative rapid solution, add this line to your jest setup file, into "afterAll" function:
fs.unlink(process.cwd() + '/globalConfig.json', () => {})

@vladholubiev
Copy link
Member

gnarea added a commit to relaycorp/awala-gateway-internet that referenced this issue Jul 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants