Skip to content

Commit 2da54d4

Browse files
committed
....
1 parent c6dbbde commit 2da54d4

File tree

2 files changed

+13
-7
lines changed

2 files changed

+13
-7
lines changed

packages/integration-tests/fixtures/debug-ids-already-injected/debug-ids-already-injected.test.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,13 +56,13 @@ describeNode18Plus("vite 6 bundle", () => {
5656
});
5757

5858
describeNode18Plus("webpack 5 bundle", () => {
59-
const viteRoot = path.join(__dirname, "input", "webpack5");
59+
const webpackRoot = path.join(__dirname, "input", "webpack5");
6060
const tempDir = createTempDir();
6161

6262
beforeEach(() => {
63-
execSync("yarn install", { cwd: viteRoot, stdio: "inherit" });
63+
execSync("yarn install", { cwd: webpackRoot, stdio: "inherit" });
6464
execSync("yarn webpack build", {
65-
cwd: viteRoot,
65+
cwd: webpackRoot,
6666
stdio: "inherit",
6767
env: { ...process.env, SENTRY_TEST_OVERRIDE_TEMP_DIR: tempDir },
6868
});
@@ -81,13 +81,13 @@ describeNode18Plus("webpack 5 bundle", () => {
8181
});
8282

8383
describeNode18Plus("rollup bundle", () => {
84-
const viteRoot = path.join(__dirname, "input", "rollup4");
84+
const rollupRoot = path.join(__dirname, "input", "rollup4");
8585
const tempDir = createTempDir();
8686

8787
beforeEach(() => {
88-
execSync("yarn install", { cwd: viteRoot, stdio: "inherit" });
88+
execSync("yarn install", { cwd: rollupRoot, stdio: "inherit" });
8989
execSync("yarn rollup --config rollup.config.js", {
90-
cwd: viteRoot,
90+
cwd: rollupRoot,
9191
stdio: "inherit",
9292
env: { ...process.env, SENTRY_TEST_OVERRIDE_TEMP_DIR: tempDir },
9393
});

packages/integration-tests/fixtures/debug-ids-already-injected/input/rollup4/rollup.config.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,15 @@
11
import { defineConfig } from "rollup";
22
import { sentryRollupPlugin } from "@sentry/rollup-plugin";
3-
import { join } from "path";
3+
import { join, posix } from "path";
44

55
const __dirname = new URL(".", import.meta.url).pathname;
66

7+
console.log({
8+
__dirname,
9+
posixInput: posix.join(__dirname, "..", "bundle.js"),
10+
input: join(__dirname, "..", "bundle.js"),
11+
});
12+
713
export default defineConfig({
814
input: { index: join(__dirname, "..", "bundle.js") },
915
output: {

0 commit comments

Comments
 (0)