mirror of
https://github.com/renovatebot/renovate.git
synced 2026-10-26 23:39:13 +00:00
930cf6633c
fix: Additional vi.mock path corrections and prettier formatting
12 lines
323 B
TypeScript
12 lines
323 B
TypeScript
import { Readable } from 'node:stream';
|
|
import { streamToString } from './streams.ts';
|
|
|
|
describe('util/streams', () => {
|
|
describe('streamToString', () => {
|
|
it('handles Readables', async () => {
|
|
const res = await streamToString(Readable.from(['abc', 'zxc']));
|
|
expect(res).toBe('abczxc');
|
|
});
|
|
});
|
|
});
|