Skip to content
Closed
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
1 change: 0 additions & 1 deletion packages/core/jest.config.js

This file was deleted.

4 changes: 2 additions & 2 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@
"clean": "rimraf build coverage sentry-core-*.tgz",
"fix": "eslint . --format stylish --fix",
"lint": "eslint . --format stylish",
"test": "jest",
"test:watch": "jest --watch",
"test": "vitest run",
"test:watch": "vitest --watch",
"yalc:publish": "yalc publish --push --sig"
},
"volta": {
Expand Down
1 change: 1 addition & 0 deletions packages/core/test/lib/api.test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import type { DsnComponents, SdkInfo } from '@sentry/types';
import { makeDsn } from '@sentry/utils';

import { describe, expect, it, test } from 'vitest';
import { getEnvelopeEndpointWithUrlEncodedAuth, getReportDialogEndpoint } from '../../src/api';

const ingestDsn = 'https://[email protected]:1234/subpath/123';
Expand Down
3 changes: 2 additions & 1 deletion packages/core/test/lib/attachments.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { parseEnvelope } from '@sentry/utils';

import { afterEach, beforeEach, describe, expect, test, vi } from 'vitest';
import { createTransport } from '../../src/transports/base';
import { TestClient, getDefaultTestClientOptions } from '../mocks/client';

Expand All @@ -10,7 +11,7 @@ describe('Attachments', () => {
});

afterEach(() => {
jest.clearAllMocks();
vi.clearAllMocks();
});

test('actually end up in envelope', async () => {
Expand Down
Loading
Loading