Fix cypress logger

This commit is contained in:
Jamie Curnow
2026-01-27 11:41:12 +10:00
parent ef7f444404
commit 7c3c59c79f

View File

@@ -1,7 +1,7 @@
import _ from "lodash";
export default () => {
const arr = _.values(arguments);
arr.unshift('[Backend API]');
console.log.apply(null, arr);
const log = (...args) => {
const arr = args;
arr.unshift("[Backend API]");
console.log(...arr);
};
export default log;