From: Girish Ramakrishnan Date: Sat, 19 Oct 2019 00:49:52 +0000 (-0700) Subject: Fix test X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=efdc0490694375fece7804c70877fb238a91a8eb;p=perso%2FImmae%2FProjets%2FNodejs%2FSurfer.git Fix test --- diff --git a/test/test.js b/test/test.js index 3610c05..979ffde 100644 --- a/test/test.js +++ b/test/test.js @@ -131,7 +131,7 @@ describe('Application life cycle test', function () { function uploadFile(name, done) { // File upload can't be tested with selenium, since the file input is not visible and thus can't be interacted with :-( - execSync(path.join(__dirname, '/../cli/surfer.js') + ' put ' + path.join(__dirname, name) + '/', { stdio: 'inherit' } ); + execSync(path.join(__dirname, '/../cli/surfer.js') + ' put ' + path.join(__dirname, name) + ' /', { stdio: 'inherit' } ); done(); }