Skip to content

Commit 19271c1

Browse files
committed
fix tests
1 parent c7eaa5e commit 19271c1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ describe("createSentryBuildPluginManager", () => {
434434
await buildPluginManager.injectDebugIds(buildArtifactPaths);
435435

436436
expect(mockCliExecute).toHaveBeenCalledWith(
437-
["sourcemaps", "inject", "/path/to/1", "/path/to/2"],
437+
["sourcemaps", "inject", "--ignore", "node_modules", "/path/to/1", "/path/to/2"],
438438
false
439439
);
440440
});
@@ -459,7 +459,7 @@ describe("createSentryBuildPluginManager", () => {
459459
await buildPluginManager.injectDebugIds(buildArtifactPaths);
460460

461461
expect(mockCliExecute).toHaveBeenCalledWith(
462-
["sourcemaps", "inject", "/path/to/bundle"],
462+
["sourcemaps", "inject", "--ignore", "node_modules", "/path/to/bundle"],
463463
true
464464
);
465465
});

0 commit comments

Comments
 (0)