Skip to content
This repository has been archived by the owner on May 22, 2024. It is now read-only.

Commit

Permalink
chore: bump @types/nock
Browse files Browse the repository at this point in the history
  • Loading branch information
RasPhilCo committed Jan 20, 2020
1 parent 0216394 commit dcdad76
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions test/stdmock.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,22 +98,22 @@ describe('stdout', () => {

describe('stdin', () => {
fancy
.stdin('whoa there, broseph\n')
.stdin('whoa there!\n')
.stdout()
.it('mocks', (_, done) => {
process.stdin.setEncoding('utf8')
process.stdin.once('data', data => {
done(data === 'whoa there, broseph\n' ? undefined : 'invalid stdin')
done(data.toString() === 'whoa there!\n' ? undefined : 'invalid stdin')
})
})

fancy
.stdin('whoa there again, broseph\n')
.stdin('whoa there again!\n')
.stdout()
.it('mocks again', (_, done) => {
process.stdin.setEncoding('utf8')
process.stdin.once('data', data => {
done(data === 'whoa there again, broseph\n' ? undefined : 'invalid stdin')
done(data.toString() === 'whoa there again!\n' ? undefined : 'invalid stdin')
})
})
})
6 changes: 3 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,9 @@
"@types/node" "*"

"@types/node@*":
version "10.12.24"
resolved "https://registry.yarnpkg.com/@types/node/-/node-10.12.24.tgz#b13564af612a22a20b5d95ca40f1bffb3af315cf"
integrity sha512-GWWbvt+z9G5otRBW8rssOFgRY87J9N/qbhqfjMZ+gUuL6zoL+Hm6gP/8qQBG4jjimqdaNLCehcVapZ/Fs2WjCQ==
version "13.1.8"
resolved "https://registry.yarnpkg.com/@types/node/-/node-13.1.8.tgz#1d590429fe8187a02707720ecf38a6fe46ce294b"
integrity sha512-6XzyyNM9EKQW4HKuzbo/CkOIjn/evtCmsU+MUM1xDfJ+3/rNjBttM1NgN7AOQvN6tP1Sl1D1PIKMreTArnxM9A==

"@types/sinon@*":
version "7.0.5"
Expand Down

0 comments on commit dcdad76

Please sign in to comment.