source: trip-planner-front/node_modules/karma/lib/init/log-queue.js@ eed0bf8

Last change on this file since eed0bf8 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 211 bytes
Line 
1'use strict'
2
3const logQueue = []
4function printLogQueue () {
5 logQueue.forEach((log) => log())
6 logQueue.length = 0
7}
8
9function push (log) {
10 logQueue.push(log)
11}
12
13module.exports = {
14 printLogQueue, push
15}
Note: See TracBrowser for help on using the repository browser.