Skip to content

Commit bed70a8

Browse files
committed
some debug logging
1 parent a17c2e7 commit bed70a8

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

packages/integration-tests/fixtures/debug-ids-already-injected/input/webpack5/webpack.config.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,14 @@
11
import { sentryWebpackPlugin } from "@sentry/webpack-plugin";
2-
import { join } from "path";
2+
import { join, posix } from "path";
33

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

6+
console.log({
7+
__dirname,
8+
posixInput: posix.join(__dirname, "..", "bundle.js"),
9+
input: join(__dirname, "..", "bundle.js"),
10+
});
11+
612
export default {
713
devtool: "source-map-debugids",
814
cache: false,

packages/integration-tests/utils/testIf.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ export const testIfNodeMajorVersionIsLessThan18: jest.It = function () {
2222
} as any;
2323

2424
// eslint-disable-next-line no-undef
25-
export const describeNode18Plus: jest.Describe =
25+
export function describeNode18Plus(): jest.Describe {
2626
// eslint-disable-next-line no-undef
27-
NODE_MAJOR_VERSION >= 18 ? describe : describe.skip;
27+
console.log({ NODE_MAJOR_VERSION, describe, describeSkip: describe.skip });
28+
// eslint-disable-next-line no-undef
29+
return NODE_MAJOR_VERSION >= 18 ? describe : describe.skip;
30+
}

0 commit comments

Comments
 (0)