Icard/angular-clarity-master(work.../node_modules/karma/lib/init/log-queue.js

16 lines
211 B
JavaScript
Raw Permalink Normal View History

2024-07-16 14:55:36 +00:00
'use strict'
const logQueue = []
function printLogQueue () {
logQueue.forEach((log) => log())
logQueue.length = 0
}
function push (log) {
logQueue.push(log)
}
module.exports = {
printLogQueue, push
}