@tapjs/reporter
Advanced tools
Comparing version 0.0.0-11 to 0.0.0-12
@@ -15,5 +15,4 @@ import { Box, Text } from 'ink'; | ||
React.createElement(Box, { flexDirection: "column" }, | ||
useComments(test).map((c, key) => (React.createElement(Box, { key: key }, | ||
React.createElement(Text, { dimColor: true }, c)))), | ||
useComments(test).map((c, key) => (React.createElement(Text, { key: key, dimColor: true }, c))), | ||
React.createElement(TimedOut, { test: test })))); | ||
//# sourceMappingURL=index.js.map |
@@ -14,5 +14,6 @@ import { useEffect, useState } from 'react'; | ||
useEffect(() => listenCleanup(test.parser, 'comment', (c) => { | ||
c = c.trim(); | ||
comments_.push(c); | ||
updateComments([...comments_]); | ||
if (c.trim()) { | ||
comments_.push(c.trimEnd()); | ||
updateComments([...comments_]); | ||
} | ||
}), [comments, test]); | ||
@@ -19,0 +20,0 @@ return comments; |
@@ -11,5 +11,4 @@ import { Box, Text } from 'ink'; | ||
React.createElement(Box, { flexDirection: "column" }, | ||
useComments(test).map((c, key) => (React.createElement(Box, { key: key }, | ||
React.createElement(Text, { dimColor: true }, c)))), | ||
useComments(test).map((c, key) => (React.createElement(Text, { key: key, dimColor: true }, c))), | ||
React.createElement(TimedOut, { test: test })))); | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@tapjs/reporter", | ||
"version": "0.0.0-11", | ||
"version": "0.0.0-12", | ||
"description": "Pretty test output reporters for tap", | ||
@@ -36,7 +36,7 @@ "author": "Isaac Z. Schlueter <i@izs.me> (https://blog.izs.me)", | ||
"peerDependencies": { | ||
"@tapjs/core": "0.0.0-10" | ||
"@tapjs/core": "0.0.0-11" | ||
}, | ||
"dependencies": { | ||
"@tapjs/config": "2.0.0-10", | ||
"@tapjs/test": "0.0.0-10", | ||
"@tapjs/config": "2.0.0-11", | ||
"@tapjs/test": "0.0.0-11", | ||
"chalk": "^5.2.0", | ||
@@ -43,0 +43,0 @@ "ink": "^4.2.0", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
139145
985
+ Added@tapjs/config@2.0.0-11(transitive)
+ Added@tapjs/core@0.0.0-11(transitive)
+ Added@tapjs/test@0.0.0-11(transitive)
- Removed@tapjs/config@2.0.0-10(transitive)
- Removed@tapjs/core@0.0.0-10(transitive)
- Removed@tapjs/test@0.0.0-10(transitive)
Updated@tapjs/config@2.0.0-11
Updated@tapjs/test@0.0.0-11