X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=test%2Ftest.js;h=979ffdeaf3fbf81f240fb9f0a2defc927a055153;hb=efdc0490694375fece7804c70877fb238a91a8eb;hp=dace05d0119dca5a8b11cbb1ba7b2cae09d95835;hpb=a7317b4ba7e4f37ab1e562669c03e4867c070d39;p=perso%2FImmae%2FProjets%2FNodejs%2FSurfer.git diff --git a/test/test.js b/test/test.js index dace05d..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(); }