fix(test): make chromium profile fallback path portable

This commit is contained in:
daehyeonxyz 2026-07-04 00:16:18 +09:00
parent 11de390be1
commit 7501a6e133
1 changed files with 1 additions and 1 deletions

View File

@ -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;