mirror of
https://github.com/strapi/strapi.git
synced 2025-12-30 08:43:28 +00:00
Fix failing test
This commit is contained in:
parent
a07abba4ea
commit
b8add03505
@ -1,4 +1,4 @@
|
||||
import { Readable, PassThrough } from 'stream';
|
||||
import { Readable, Transform } from 'stream';
|
||||
import type { IEntity } from '../../../../../types';
|
||||
|
||||
import {
|
||||
@ -128,7 +128,7 @@ describe('Local Strapi Source Provider - Entities Streaming', () => {
|
||||
const entitiesStream = Readable.from(entities);
|
||||
const transformStream = createEntitiesTransformStream();
|
||||
|
||||
expect(transformStream).toBeInstanceOf(PassThrough);
|
||||
expect(transformStream).toBeInstanceOf(Transform);
|
||||
|
||||
// Connect the data source to the transformation stream
|
||||
const pipeline = entitiesStream.pipe(transformStream);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user