Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test(nestjs): Switch to explicit vitest imports #13214

Merged
merged 1 commit into from
Aug 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion packages/nestjs/test/sdk.test.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import { beforeEach, describe, expect, it, vi } from 'vitest';

import * as SentryNode from '@sentry/node';
import { SDK_VERSION } from '@sentry/utils';

import { vi } from 'vitest';
import { init as nestInit } from '../src/sdk';

const nodeInit = vi.spyOn(SentryNode, 'init');
Expand Down
3 changes: 0 additions & 3 deletions packages/nestjs/tsconfig.test.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@
"include": ["test/**/*", "vite.config.ts"],

"compilerOptions": {
// should include all types from `./tsconfig.json` plus types for all test frameworks used
"types": ["vitest/globals"]

// other package-specific, test-specific options
}
}
Loading