We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a7394d commit d48891aCopy full SHA for d48891a
src/Reporter.tsx
@@ -36,15 +36,15 @@ const TestConsoleOutput = ({
36
const TITLE_INDENT = verbose ? '\xa0'.repeat(2) : '\xa0'.repeat(4);
37
const CONSOLE_INDENT = TITLE_INDENT + '\xa0'.repeat(2);
38
39
- const content = console.map(({ type, message, origin }) => {
+ const content = console.map(({ type, message, origin }, index) => {
40
origin = slash(path.relative(cwd, origin));
41
message = message
42
.split(/\n/)
43
.map(line => CONSOLE_INDENT + line)
44
.join('\n');
45
46
return (
47
- <Box key={message} flexDirection="column" paddingBottom={1}>
+ <Box key={index} flexDirection="column" paddingBottom={1}>
48
<Box>
49
{TITLE_INDENT}{' '}
50
<ColoredConsole type={type} dim>
0 commit comments