Skip to content

Commit 534c7bf

Browse files
committed
fix test
1 parent fe42517 commit 534c7bf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/sveltekit/test/vite/sentrySvelteKitPlugins.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ describe('sentrySvelteKit()', () => {
4242
const plugins = await getSentrySvelteKitPlugins();
4343

4444
expect(plugins).toBeInstanceOf(Array);
45-
// 1 auto instrument plugin + 1 global values injection plugin + 5 source maps plugins
46-
expect(plugins).toHaveLength(10);
45+
// 1 auto instrument plugin + 1 global values injection plugin + 4 source maps plugins
46+
expect(plugins).toHaveLength(9);
4747
});
4848

4949
it('returns the custom sentry source maps upload plugin, unmodified sourcemaps plugins and the auto-instrument plugin by default', async () => {
@@ -89,7 +89,7 @@ describe('sentrySvelteKit()', () => {
8989
it("doesn't return the auto instrument plugin if autoInstrument is `false`", async () => {
9090
const plugins = await getSentrySvelteKitPlugins({ autoInstrument: false });
9191
const pluginNames = plugins.map(plugin => plugin.name);
92-
expect(plugins).toHaveLength(9); // global values injection + 5 source maps plugins + 3 default plugins
92+
expect(plugins).toHaveLength(8); // global values injection + 4 source maps plugins + 3 default plugins
9393
expect(pluginNames).not.toContain('sentry-auto-instrumentation');
9494
});
9595

0 commit comments

Comments
 (0)