Skip to content

Commit 93ca7d8

Browse files
Copilothuangyiirene
andcommitted
Fix missing vi imports in test files
Co-authored-by: huangyiirene <7665279+huangyiirene@users.noreply.github.com>
1 parent 7152f42 commit 93ca7d8

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

packages/renderer/src/__tests__/registry.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { describe, it, expect, beforeEach } from 'vitest';
1+
import { describe, it, expect, beforeEach, vi } from 'vitest';
22
import React from 'react';
33
import { render, screen } from '@testing-library/react';
44
import { ComponentRegistry } from '../registry';

packages/ui/src/__tests__/button.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { describe, it, expect } from 'vitest';
1+
import { describe, it, expect, vi } from 'vitest';
22
import React from 'react';
33
import { render, screen } from '@testing-library/react';
44
import { Button } from '../components/ui/button';

0 commit comments

Comments
 (0)