chore: setup vitest
This commit is contained in:
12
vitest.setup.component.ts
Normal file
12
vitest.setup.component.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
import * as matchers from '@testing-library/jest-dom/matchers';
|
||||
import { cleanup } from '@testing-library/svelte';
|
||||
import {
|
||||
afterEach,
|
||||
expect,
|
||||
} from 'vitest';
|
||||
|
||||
expect.extend(matchers);
|
||||
|
||||
afterEach(() => {
|
||||
cleanup();
|
||||
});
|
||||
Reference in New Issue
Block a user