Files
renovate/lib/util/streams.spec.ts
Sergei Zharinov 930cf6633c refactor: Rewrite imports with .ts extensions (#40700)
fix: Additional vi.mock path corrections and prettier formatting
2026-01-26 22:48:17 +00:00

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');
});
});
});