Skip to content
Prev Previous commit
Next Next commit
Apply suggestions from code review
Co-authored-by: Joyee Cheung <joyeec9h3@gmail.com>
  • Loading branch information
alexsch01 and joyeecheung authored Feb 7, 2026
commit 3e0ab1d8d8d845622b2bc7a448efc3b15d510aea
12 changes: 6 additions & 6 deletions test/sea/test-build-sea-custom-argv0.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,20 +16,20 @@ const { spawnSyncAndAssert } = require('../common/child_process');

const fixturesDir = fixtures.path('sea', 'basic');
const tempDir = tmpdir.path;

tmpdir.refresh();
copyFileSync(
resolve(fixturesDir, 'sea-config.json'),
resolve(tempDir, 'sea-config.json'),
fixtures.path('sea-config.json'),
Comment thread
alexsch01 marked this conversation as resolved.
Outdated
tmpdir.resolve('sea-config.json'),
);

copyFileSync(
resolve(fixturesDir, 'sea.js'),
resolve(tempDir, 'sea.js'),
fixtures.path('sea.js'),
Comment thread
alexsch01 marked this conversation as resolved.
Outdated
tmpdir.resolve('sea.js'),
);

spawnSyncAndAssert(
process.execPath,
['--build-sea', resolve(tempDir, 'sea-config.json')], {
['--build-sea', tmpdir.resolve('sea-config.json')], {
cwd: tempDir,
argv0: 'argv0',
}, {
Expand Down
Loading