Skip to content

Commit c299e1d

Browse files
committed
Fix tests
1 parent d5fd2fb commit c299e1d

File tree

7 files changed

+7
-6
lines changed

7 files changed

+7
-6
lines changed

packages/solidstart/test/client/errorboundary.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import type * as SentryBrowser from '@sentry/browser';
33
import { createTransport, getCurrentScope, setCurrentClient } from '@sentry/core';
44
import { render } from '@solidjs/testing-library';
55
import userEvent from '@testing-library/user-event';
6-
import { vi } from 'vitest';
6+
import { vi, describe, beforeEach, afterEach, it, expect } from 'vitest';
77

88
import { ErrorBoundary } from 'solid-js';
99
import { BrowserClient, withSentryErrorBoundary } from '../../src/client';

packages/solidstart/test/client/sdk.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { SDK_VERSION } from '@sentry/solid';
22
import * as SentrySolid from '@sentry/solid';
33

4-
import { vi } from 'vitest';
4+
import { vi, describe, beforeEach, it, expect } from 'vitest';
55
import { init as solidStartInit } from '../../src/client';
66
import { solidRouterBrowserTracingIntegration } from '../../src/client/solidrouter';
77

packages/solidstart/test/client/solidrouter.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import {
1010
import type { MemoryHistory } from '@solidjs/router';
1111
import { MemoryRouter, Navigate, Route, createMemoryHistory } from '@solidjs/router';
1212
import { render } from '@solidjs/testing-library';
13-
import { vi } from 'vitest';
13+
import { vi, describe, it, beforeEach } from 'vitest';
1414

1515
import { BrowserClient } from '../../src/client';
1616
import { solidRouterBrowserTracingIntegration, withSentryRouterRouting } from '../../src/client/solidrouter';

packages/solidstart/test/server/errorboundary.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import type * as SentryCore from '@sentry/core';
33
import { createTransport, getCurrentScope, setCurrentClient } from '@sentry/core';
44
import { render } from '@solidjs/testing-library';
55
import userEvent from '@testing-library/user-event';
6-
import { vi } from 'vitest';
6+
import { vi, describe, beforeEach, it, expect, afterEach } from 'vitest';
77

88
import { ErrorBoundary } from 'solid-js';
99
import { NodeClient, withSentryErrorBoundary } from '../../src/server';

packages/solidstart/test/server/middleware.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import * as SentryCore from '@sentry/core';
2-
import { beforeEach, describe, it, vi } from 'vitest';
2+
import { beforeEach, describe, it, vi, expect } from 'vitest';
33
import { sentryBeforeResponseMiddleware } from '../../src/server';
44
import type { ResponseMiddlewareResponse } from '../../src/server';
55

packages/solidstart/test/server/solidrouter.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import type { MemoryHistory } from '@solidjs/router';
22
import { MemoryRouter, Route, createMemoryHistory } from '@solidjs/router';
33
import { render } from '@solidjs/testing-library';
4-
import { vi } from 'vitest';
4+
import { vi, describe, expect, it } from 'vitest';
55

66
import { withSentryRouterRouting as withSentryClientRouterRouting } from '../../src/client/solidrouter';
77
import { withSentryRouterRouting as withSentryServerRouterRouting } from '../../src/server/solidrouter';

packages/sveltekit/test/server/rewriteFramesIntegration.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import { rewriteFramesIntegration } from '@sentry/browser';
22
import { basename } from '@sentry/core';
33
import type { Event, StackFrame } from '@sentry/core';
4+
import { describe, expect, it } from 'vitest';
45

56
import { rewriteFramesIteratee } from '../../src/server-common/rewriteFramesIntegration';
67
import type { GlobalWithSentryValues } from '../../src/vite/injectGlobalValues';

0 commit comments

Comments
 (0)