mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-18 18:51:55 -08:00
test(refactor): [ENG-COVERAGE-01] index public contracts and exact candidate evidence
This commit is contained in:
1 parent
6abac891ce
commit
f35fb87615
22 files changed
+11007
-7
No files matched your search
@@ -0,0 +1,8 @@
|
||||
export default async function* contractReporter(events) {
|
||||
for await (const event of events) {
|
||||
if (['test:pass', 'test:fail', 'test:summary'].includes(event.type)) {
|
||||
const { name, file, nesting, skip, todo, counts, success, details } = event.data
|
||||
yield `${JSON.stringify({ type: event.type, name, file, nesting, skip, todo, counts, success, kind: details?.type, error: details?.error?.message })}\n`
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user