diff --git a/test/cli/cli.test.js b/test/cli/cli.test.js index 6094b476..8dca790f 100644 --- a/test/cli/cli.test.js +++ b/test/cli/cli.test.js @@ -47,7 +47,7 @@ test('accepts svg as input stream', async () => { proc.stdin.write('stdin'); proc.stdin.end(); const stdout = await waitStdout(proc); - expect(stdout).toEqual('\n'); + expect(stdout).toEqual(''); }); test('accepts svg as string', async () => { @@ -58,7 +58,7 @@ test('accepts svg as string', async () => { { cwd: __dirname } ); const stdout = await waitStdout(proc); - expect(stdout).toEqual('\n'); + expect(stdout).toEqual(''); }); test('accepts svg as filename', async () => { @@ -82,7 +82,7 @@ test('output as stream when "-" is specified', async () => { { cwd: __dirname } ); const stdout = await waitStdout(proc); - expect(stdout).toEqual('\n'); + expect(stdout).toEqual(''); }); test('should exit with 1 code on syntax error', async () => {