UNPKG
@revoloo/cypress6
Version:
latest (1.0.0)
1.0.0
Cypress.io end to end testing tool
github.com/cypress-io/cypress
cypress-io/cypress
@revoloo/cypress6
/
packages
/
server
/
lib
/
util
/
passthru_stream.ts
10 lines
(7 loc)
•
206 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
10
import
{
Transform
}
from
'stream'
const
through =
require
(
'through'
)
export
function
passthruStream
(
):
Transform
{
return
through
(
function
(
this
: InternalStream, chunk
) {
this
.
queue
(chunk) }) }