From 6731bf1c87f3d9e736c49f0189a8e6430c490ef1 Mon Sep 17 00:00:00 2001 From: yann300 Date: Sun, 9 Jun 2024 22:32:30 +0200 Subject: [PATCH] fix foundry folder --- apps/remix-ide-e2e/src/tests/remixd.test.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/apps/remix-ide-e2e/src/tests/remixd.test.ts b/apps/remix-ide-e2e/src/tests/remixd.test.ts index 6b6c5f7a94..e6590a90f4 100644 --- a/apps/remix-ide-e2e/src/tests/remixd.test.ts +++ b/apps/remix-ide-e2e/src/tests/remixd.test.ts @@ -204,7 +204,7 @@ module.exports = { 'Should listen on compilation result from foundry #group7': function (browser: NightwatchBrowser) { browser.perform(async (done) => { - remixd = await spawnRemixd(join(process.cwd(), '/apps/remix-ide', '/contracts/hello_foundry')) + remixd = await spawnRemixd(join(process.cwd(), '/apps/remix-ide/hello_foundry')) console.log('working directory', process.cwd()) connectRemixd(browser, done) }) @@ -232,8 +232,6 @@ module.exports = { done() }) }) - - } } @@ -377,7 +375,7 @@ async function installFoundry(): Promise { async function initFoundryProject(): Promise { console.log(process.cwd()) try { - const server = spawn('forge init hello_foundry', [], { cwd: process.cwd() + '/apps/remix-ide/contracts', shell: true, detached: true }) + const server = spawn('forge init hello_foundry', [], { cwd: process.cwd() + '/apps/remix-ide', shell: true, detached: true }) return new Promise((resolve, reject) => { server.stdout.on('data', function (data) { console.log(data.toString())