Skip to content

Commit

Permalink
chore(deps): upgrade devDependencies
Browse files Browse the repository at this point in the history
Modify the tests according to the changes in node-tap.
  • Loading branch information
abetomo committed Jun 15, 2021
1 parent 509c935 commit 9e6aee0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@
},
"devDependencies": {
"concat-stream": "^2.0.0",
"eslint": "^7.4.0",
"eslint": "^7.28.0",
"is-node-stream": "^1.0.0",
"nyc": "^15.1.0",
"tap": "^14.10.7"
"tap": "^15.0.9"
}
}
3 changes: 1 addition & 2 deletions test/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,8 @@ const Readable = require('stream').Readable;

AWS.config.paramValidation = false;

tap.afterEach(function (done) {
tap.afterEach(() => {
awsMock.restore();
done();
});

test('AWS.mock function should mock AWS service and method on the service', function(t){
Expand Down

0 comments on commit 9e6aee0

Please sign in to comment.