Skip to content

Commit fcbf06d

Browse files
authored
fix: re-enable transform duplex test (#17)
Fix in it-pipe lets us abort duplex streams used as transforms. Refs: alanshaw/it-pipe#8
1 parent f2bcb03 commit fcbf06d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@
148148
"aegir": "^36.1.3",
149149
"delay": "^5.0.0",
150150
"it-drain": "^1.0.5",
151-
"it-pipe": "^2.0.0"
151+
"it-pipe": "^2.0.2"
152152
},
153153
"repository": {
154154
"type": "git",

test/index.spec.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ describe('abortable-iterator', () => {
193193
.to.eventually.be.rejected.with.property('type', 'aborted')
194194
})
195195

196-
it.skip('should abort a duplex used as a transform', async () => {
196+
it('should abort a duplex used as a transform', async () => {
197197
const controller = new AbortController()
198198
const duplex: Duplex<number> = {
199199
source: forever(),

0 commit comments

Comments
 (0)