github-desktop/app/test/setup-test-framework.ts
Markus Olsson 2e80e8bc95 This threw me off so bad
I had launched VS Code via Desktop and it had inherited these causing tests to use the prod version dugite
2022-04-13 12:38:32 +02:00

9 lines
185 B
TypeScript

// set test timeout to 10s
jest.setTimeout(10000)
import 'jest-extended'
import 'jest-localstorage-mock'
delete process.env['LOCAL_GIT_DIRECTORY']
delete process.env['GIT_EXEC_PATH']