Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit 3cfc62c

Browse files
author
Dushyant
committed
fix the issue related to failing tests
1 parent 8e020f7 commit 3cfc62c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/services/ProcessorService.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ const upsert = async (message) => {
3636
let testsPassed
3737
let totalTestCases
3838

39-
if (message.payload.metadata) {
39+
if (Object.getOwnPropertyNames(message.payload.metadata).length !== 0) {
4040
testsPassed = getTestsPassed(message.payload.metadata)
4141
totalTestCases = message.payload.metadata.tests.total
4242
} else {

0 commit comments

Comments
 (0)