Skip to content

Commit

Permalink
fix: re-enable transform duplex test (#17)
Browse files Browse the repository at this point in the history
Fix in it-pipe lets us abort duplex streams used as transforms.

Refs: alanshaw/it-pipe#8
  • Loading branch information
achingbrain committed Jan 13, 2022
1 parent f2bcb03 commit fcbf06d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@
"aegir": "^36.1.3",
"delay": "^5.0.0",
"it-drain": "^1.0.5",
"it-pipe": "^2.0.0"
"it-pipe": "^2.0.2"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion test/index.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ describe('abortable-iterator', () => {
.to.eventually.be.rejected.with.property('type', 'aborted')
})

it.skip('should abort a duplex used as a transform', async () => {
it('should abort a duplex used as a transform', async () => {
const controller = new AbortController()
const duplex: Duplex<number> = {
source: forever(),
Expand Down

0 comments on commit fcbf06d

Please sign in to comment.