From 41ab9124323814a58c55626f0a4c724b04f07e52 Mon Sep 17 00:00:00 2001 From: Steel Brain Date: Mon, 15 Apr 2019 20:40:20 +0500 Subject: [PATCH] :art: Minor change in spec cleanup --- spec/main-spec.js | 3 +++ 1 file changed, 3 insertions(+) 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() {