switch to vitest and get some actual results!

This commit is contained in:
Chris Kruining 2025-02-19 15:55:59 +11:00
parent 4a367d2457
commit 3ef8940137
No known key found for this signature in database
GPG key ID: EB894A3560CCCAD2
9 changed files with 246 additions and 36 deletions

View file

@ -1,6 +1,9 @@
import { describe, beforeEach, it, expect, afterAll, spyOn } from 'bun:test';
import { afterAll, beforeEach, describe, expect, vi } from 'vitest';
import { decode, deepCopy, deepDiff, filter, gen__split_by_filter, map, MutarionKind, split_by_filter, splitAt } from './utilities';
import { install } from '@sinonjs/fake-timers';
import { it } from '~/test-helpers';
const { spyOn } = vi;
type MilliSeconds = number;
const useFakeTimers = () => {