Skip to content

Commit

Permalink
CHG: pptr: less log
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-js committed Dec 26, 2023
1 parent b12aa8d commit 86cab30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/puppeteer.js
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ const testWithPuppeteer = async ({
puppeteerPage.on('console', (consoleMessage) => {
const logType = consoleMessage.type()
const logText = consoleMessage.text()
kitLogger.log(`[test|${logType}] ${logText}`)
kitLogger.devLog(`[test|${logType}] ${logText}`)
if (!logText.includes(testTag)) return
const { [ testTag ]: { failCount } } = JSON.parse(logText)
failCount
Expand Down

0 comments on commit 86cab30

Please sign in to comment.