Skip to content

Commit 64074b8

Browse files
author
Luca Forstner
committed
Fix?
1 parent b6b7b80 commit 64074b8

File tree

3 files changed

+21
-17
lines changed

3 files changed

+21
-17
lines changed

packages/bundler-plugin-core/test/sentry/logger.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { createLogger } from "../../src/sentry/logger";
1+
import { createLogger } from "../../src/logger";
22

33
describe("Logger", () => {
44
const consoleErrorSpy = jest.spyOn(console, "error").mockImplementation(() => undefined);

packages/rollup-plugin/test/public-api.test.ts

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,15 @@ describe("sentryRollupPlugin", () => {
2222

2323
const pluginNames = plugins.map((plugin) => plugin.name);
2424

25-
expect(pluginNames).toEqual([
26-
"sentry-telemetry-plugin",
27-
"sentry-rollup-release-injection-plugin",
28-
"sentry-release-management-plugin",
29-
"sentry-rollup-debug-id-injection-plugin",
30-
"sentry-rollup-debug-id-upload-plugin",
31-
"sentry-file-deletion-plugin",
32-
]);
25+
expect(pluginNames).toEqual(
26+
expect.arrayContaining([
27+
"sentry-telemetry-plugin",
28+
"sentry-rollup-release-injection-plugin",
29+
"sentry-release-management-plugin",
30+
"sentry-rollup-debug-id-injection-plugin",
31+
"sentry-rollup-debug-id-upload-plugin",
32+
"sentry-file-deletion-plugin",
33+
])
34+
);
3335
});
3436
});

packages/vite-plugin/test/public-api.test.ts

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,15 @@ describe("sentryVitePlugin", () => {
2222

2323
const pluginNames = plugins.map((plugin) => plugin.name);
2424

25-
expect(pluginNames).toEqual([
26-
"sentry-telemetry-plugin",
27-
"sentry-vite-release-injection-plugin",
28-
"sentry-release-management-plugin",
29-
"sentry-vite-debug-id-injection-plugin",
30-
"sentry-vite-debug-id-upload-plugin",
31-
"sentry-file-deletion-plugin",
32-
]);
25+
expect(pluginNames).toEqual(
26+
expect.arrayContaining([
27+
"sentry-telemetry-plugin",
28+
"sentry-vite-release-injection-plugin",
29+
"sentry-release-management-plugin",
30+
"sentry-vite-debug-id-injection-plugin",
31+
"sentry-vite-debug-id-upload-plugin",
32+
"sentry-file-deletion-plugin",
33+
])
34+
);
3335
});
3436
});

0 commit comments

Comments
 (0)