mirror of
https://github.com/cypress-io/cypress.git
synced 2026-05-02 13:00:18 -05:00
ab401ecd35
* chore: use import type across repo * chore: use import type across repo * chore: use import type across repo * chore: use import type across repo * update exports * update test * update import type * update types * use import type in driver * correctly export function * revert test * remove unrelated code * revert code * improve type imports * override for reporter
10 lines
211 B
TypeScript
10 lines
211 B
TypeScript
import type { Transform } from 'stream'
|
|
|
|
const through = require('through')
|
|
|
|
export function passthruStream (): Transform {
|
|
return through(function (this: InternalStream, chunk) {
|
|
this.queue(chunk)
|
|
})
|
|
}
|