Skip to content

Commit 644e5e2

Browse files
committed
Fix a couple of merge issues
1 parent 8abf719 commit 644e5e2

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

.github/workflows/checks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ jobs:
131131
strategy:
132132
fail-fast: false
133133
matrix:
134-
node-version: ["18", "20", "22"]
134+
node-version: [18, 20, 22, 24]
135135
os: [ubuntu-latest, windows-latest]
136136
runs-on: ${{ matrix.os }}
137137
steps:

packages/bundler-plugin-core/test/build-plugin-manager.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,13 @@ vi.mock("@sentry/core", async () => ({
3939
vi.mock("../src/glob");
4040
vi.mock("../src/debug-id-upload");
4141

42-
const mockGlobFiles = globFiles as jest.MockedFunction<typeof globFiles>;
42+
const mockGlobFiles = globFiles as MockedFunction<typeof globFiles>;
4343
const mockPrepareBundleForDebugIdUpload =
4444
prepareBundleForDebugIdUpload as unknown as MockedFunction<typeof prepareBundleForDebugIdUpload>;
4545

4646
describe("createSentryBuildPluginManager", () => {
4747
beforeEach(() => {
48-
vi.resetAllMocks();
48+
vi.clearAllMocks();
4949
// Clean up environment variables
5050
delete process.env["SENTRY_LOG_LEVEL"];
5151
});

packages/integration-tests/fixtures/build-information-injection/build-information-injection.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ test("vite bundle", () => {
3838
checkBundle(path.join(__dirname, "out", "vite", "index.js"));
3939
});
4040

41-
test("webpack 5 bundle", () => {
41+
test("webpack bundle", () => {
4242
expect.assertions(1);
4343
checkBundle(path.join(__dirname, "out", "webpack", "index.js"));
4444
});

packages/integration-tests/fixtures/errorhandling/error-no-handler.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ describe("Error throwing by default (no errorHandler)", { timeout: 10_000 }, ()
77

88
const sentryServer = spawn("node", [path.join(__dirname, "fakeSentry.js")], {
99
cwd: __dirname,
10-
stdio: "inherit", // <-- set to "inherit" to get server logs. Deactivated to avoid test logs.
10+
stdio: "ignore", // <-- set to "inherit" to get server logs. Deactivated to avoid test logs.
1111
env: { ...process.env, FAKE_SENTRY_PORT },
1212
shell: true,
1313
});

packages/integration-tests/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"scripts": {
77
"test": "run-s test:setup test:vitest",
88
"test:setup": "ts-node scripts/run-fixture-setups.ts",
9-
"test:vitest": "vitest run -t \"Error throwing by default\"",
9+
"test:vitest": "vitest run",
1010
"lint": "eslint .",
1111
"check:types": "tsc --project ./tsconfig.json --noEmit",
1212
"clean": "run-s clean:build",

0 commit comments

Comments
 (0)