Skip to content

Commit

Permalink
Remove the cleaning process after the test (#281)
Browse files Browse the repository at this point in the history
Because there is no longer the process of creating the file in the
temporary directory.
  • Loading branch information
abetomo authored and DeviaVir committed May 16, 2017
1 parent ca9ed8f commit a5e86e8
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions test/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,6 @@ describe('node-lambda', function () {
program = Hoek.clone(originalProgram);
});

after(function () {
_timeout({ this: this, sec: 30 }); // give it time to remove
fs.removeSync(path.join(os.tmpdir(), `${program.functionName}-[0-9]*`));
});

it('version should be set', function () {
assert.equal(lambda.version, '0.10.0');
});
Expand Down

0 comments on commit a5e86e8

Please sign in to comment.