We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 70b7f4d commit 2880fa3Copy full SHA for 2880fa3
__tests__/helpers/get-gha-setup.ts
@@ -8,6 +8,8 @@ import * as getPkgVersion from '../../src/lib/getPkgVersion';
8
9
import getGitRemoteMock from './get-git-mock';
10
11
+const testWorkingDir = process.cwd();
12
+
13
/**
14
* A helper function for setting up tests for our GitHub Action onboarding.
15
*
@@ -44,4 +46,5 @@ export function after() {
44
46
configstore.clear();
45
47
delete process.env.TEST_CREATEGHA;
48
jest.clearAllMocks();
49
+ process.chdir(testWorkingDir);
50
}
0 commit comments