Skip to content

Commit

Permalink
chore: update circle node orb
Browse files Browse the repository at this point in the history
  • Loading branch information
matt-forster committed Apr 14, 2022
1 parent d1a5d1b commit 37d57cb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: 2.1

orbs:
node: circleci/node@4.1.0
node: circleci/node@5.0.2

commands:
setup_git_bot:
Expand Down
5 changes: 4 additions & 1 deletion test/index.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -263,13 +263,16 @@ describe('Integration', function () {
client.get('tést.txt', (err, stream) => {
expect(err).to.not.exist;
let text = '';

stream.on('data', (data) => {
text += data.toString();
});
stream.on('end', () => {

stream.on('close', () => {
expect(text).to.equal('test text file, awesome!');
done();
});

stream.resume();
});
});
Expand Down

0 comments on commit 37d57cb

Please sign in to comment.