mirror of https://github.com/garrytan/gstack.git
Merge 7501a6e133 into a3259400a3
This commit is contained in:
commit
9e6e3cf730
|
|
@ -367,7 +367,7 @@ describe('resolveChromiumProfile', () => {
|
|||
delete process.env.CHROMIUM_PROFILE;
|
||||
process.env.GSTACK_HOME = '/tmp/fallback-gstack';
|
||||
try {
|
||||
expect(resolveChromiumProfile()).toBe('/tmp/fallback-gstack/chromium-profile');
|
||||
expect(resolveChromiumProfile()).toBe(path.join('/tmp/fallback-gstack', 'chromium-profile'));
|
||||
} finally {
|
||||
if (origEnv !== undefined) process.env.CHROMIUM_PROFILE = origEnv;
|
||||
if (origHome === undefined) delete process.env.GSTACK_HOME;
|
||||
|
|
|
|||
Loading…
Reference in New Issue