persona-community-5/.pnpm-store/v3/files/23/6ae0256789da4dff0d98c375bedd034dab5ede05bb9df1888c7822d5fec1c5d5193bb761f7b2b8c5e7c4c0d4e40ab2698abcaa127eb7a7ae1c404fc621fa0e
rdev-worker a1d0d1bf1c
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
build: /implement-feature community-ui --requirements 'Build the React commu...
2026-02-24 08:22:30 +00:00

19 lines
392 B
Plaintext

/**
* @jest-environment jsdom
*/
import { output } from '../output';
describe('output', () => {
it('should ignore all parsable data in browser', () => {
const spyingStdout = jest.spyOn(process.stdout, 'write').mockImplementation();
const data = '{ "errors" : [] }';
output.write(data);
expect(spyingStdout).not.toBeCalled();
spyingStdout.mockRestore();
});
});