Skip to content

Commit

Permalink
Migrate from jest to vitest
Browse files Browse the repository at this point in the history
  • Loading branch information
Juice10 committed Jun 26, 2024
1 parent c7153b7 commit 9df9946
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/rrweb-snapshot/test/rebuild.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*/
import * as fs from 'fs';
import * as path from 'path';
import { describe, it, beforeEach, expect } from 'vitest';
import { describe, it, beforeEach, expect as _expect } from 'vitest';
import {
adaptCssForReplay,
buildNodeWithSN,
Expand All @@ -12,8 +12,6 @@ import {
import { NodeType } from '../src/types';
import { createMirror, Mirror } from '../src/utils';

import { expect as _expect } from '@jest/globals';

const expect = _expect as unknown as {
<T = unknown>(actual: T): {
toMatchCss(expected: string): void;
Expand Down

0 comments on commit 9df9946

Please sign in to comment.