Skip to content

Commit

Permalink
Use correct import on testing library plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
Alejandro Frias committed Nov 23, 2023
1 parent 454ecc4 commit 9f0e86f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/MetricsProvider.spec.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Stage, usePerformanceMark } from '@shopify/react-performance';
import { render, screen } from '@testing-library/react';
import { useEffect } from 'react';
import { afterAll, afterEach, beforeAll, Mock } from 'vitest';
import { Mock } from 'vitest';

import { hasAnyRequest, server, waitForRequests } from '../test/mockServer';
import { GoldenMetrics, MetricDefinition } from './createMetrics';
Expand Down
2 changes: 1 addition & 1 deletion test/setup-test-env.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
/// <reference types="vitest/globals" />

import '@testing-library/jest-dom';
import '@testing-library/jest-dom/vitest';

0 comments on commit 9f0e86f

Please sign in to comment.