Remove example spy test

This commit is contained in:
Steve Kinney
2024-09-30 13:20:40 -06:00
parent 003bd64b4e
commit f3b1df89bc

View File

@@ -1,14 +1,4 @@
import { expect, it, vi, beforeEach, afterEach, describe } from 'vitest';
import { log } from './log';
describe.todo('logger', () => {
it('logs to the console in development mode', () => {
const spy = vi.spyOn(console, 'log');
log('Hello, world!');
expect(spy).toHaveBeenCalledWith('Hello, world!');
spy.mockRestore();
});
});
describe.todo('logger', () => {});