packages/logger/src/__tests__/log.test.ts
import { log } from "..";
jest.spyOn(global.console, "log");
describe("@repo/logger", () => {
it("prints a message", () => {
log("hello");
// eslint-disable-next-line no-console -- testing console
expect(console.log).toBeCalledWith("LOGGER: ", "hello");
});
});