Skip to content

Commit 9df9946

Browse files
committed
Migrate from jest to vitest
1 parent c7153b7 commit 9df9946

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

packages/rrweb-snapshot/test/rebuild.test.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*/
44
import * as fs from 'fs';
55
import * as path from 'path';
6-
import { describe, it, beforeEach, expect } from 'vitest';
6+
import { describe, it, beforeEach, expect as _expect } from 'vitest';
77
import {
88
adaptCssForReplay,
99
buildNodeWithSN,
@@ -12,8 +12,6 @@ import {
1212
import { NodeType } from '../src/types';
1313
import { createMirror, Mirror } from '../src/utils';
1414

15-
import { expect as _expect } from '@jest/globals';
16-
1715
const expect = _expect as unknown as {
1816
<T = unknown>(actual: T): {
1917
toMatchCss(expected: string): void;

0 commit comments

Comments
 (0)