diff --git a/spec/main-spec.js b/spec/main-spec.js index 2de4c7e..2dd9dbc 100644 --- a/spec/main-spec.js +++ b/spec/main-spec.js @@ -63,6 +63,9 @@ async function connectWithInlinePrivateKey(port, client) { test.after(function() { ChildProcess.exec(`rm -rf ${getFixturePath('ignored/*')}`) }) +test.before(function() { + ChildProcess.exec(`rm -rf ${getFixturePath('ignored/*')}`) +}) sshit('connects to a server with password', async function(t, port, client) { await t.notThrowsAsync(async function() {