Skip to content

Commit 50f9c3f

Browse files
committed
Merge branch 'timfish/test/ensure-bunlder-resolution' into timfish/test/remove-old-integration-tests
2 parents bcebf57 + 39e4c06 commit 50f9c3f

4 files changed

Lines changed: 8 additions & 7 deletions

File tree

packages/integration-tests-next/fixtures/utils.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@ export function readAllFiles(
4646
.replaceAll(/"nodeVersion":\d+/g, `"nodeVersion":"NODE_VERSION"`)
4747
.replaceAll(/"nodeVersion": \d+/g, `"nodeVersion":"NODE_VERSION"`)
4848
.replaceAll(/nodeVersion:\d+/g, `nodeVersion:"NODE_VERSION"`)
49-
.replaceAll(/nodeVersion: \d+/g, `nodeVersion:"NODE_VERSION"`);
49+
.replaceAll(/nodeVersion: \d+/g, `nodeVersion:"NODE_VERSION"`)
50+
.replaceAll(process.cwd(), "");
5051

5152
if (customReplacer) {
5253
contents = customReplacer(contents);

packages/integration-tests-next/fixtures/vite8/component-annotation-disabled.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles }) => {
1515
})();
1616
import { jsxDEV } from "../node_modules/.pnpm/[email protected]/node_modules/react/jsx-dev-runtime.js";
1717
//#region src/component-a.jsx
18-
var _jsxFileName$1 = "/Users/tim/Documents/Repositories/sentry-javascript-bundler-plugins/packages/integration-tests-next/fixtures/vite8/src/component-a.jsx";
18+
var _jsxFileName$1 = "/fixtures/vite8/src/component-a.jsx";
1919
function ComponentA() {
2020
return /* @__PURE__ */ jsxDEV("span", { children: "Component A" }, void 0, false, {
2121
fileName: _jsxFileName$1,
@@ -25,7 +25,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles }) => {
2525
}
2626
//#endregion
2727
//#region src/app.jsx
28-
var _jsxFileName = "/Users/tim/Documents/Repositories/sentry-javascript-bundler-plugins/packages/integration-tests-next/fixtures/vite8/src/app.jsx";
28+
var _jsxFileName = "/fixtures/vite8/src/app.jsx";
2929
function App() {
3030
return /* @__PURE__ */ jsxDEV("span", { children: [/* @__PURE__ */ jsxDEV(ComponentA, {}, void 0, false, {
3131
fileName: _jsxFileName,

packages/integration-tests-next/fixtures/vite8/component-annotation-next.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles }) => {
1515
})();
1616
import { jsxDEV } from "../node_modules/.pnpm/[email protected]/node_modules/react/jsx-dev-runtime.js";
1717
//#region src/component-a.jsx
18-
var _jsxFileName$1 = "/Users/tim/Documents/Repositories/sentry-javascript-bundler-plugins/packages/integration-tests-next/fixtures/vite8/src/component-a.jsx";
18+
var _jsxFileName$1 = "/fixtures/vite8/src/component-a.jsx";
1919
function ComponentA() {
2020
return /* @__PURE__ */ jsxDEV("span", {
2121
"data-sentry-component": "ComponentA",
@@ -28,7 +28,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles }) => {
2828
}
2929
//#endregion
3030
//#region src/app.jsx
31-
var _jsxFileName = "/Users/tim/Documents/Repositories/sentry-javascript-bundler-plugins/packages/integration-tests-next/fixtures/vite8/src/app.jsx";
31+
var _jsxFileName = "/fixtures/vite8/src/app.jsx";
3232
function App() {
3333
return /* @__PURE__ */ jsxDEV("span", {
3434
"data-sentry-component": "App",

packages/integration-tests-next/fixtures/vite8/component-annotation.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles }) => {
1515
})();
1616
import { jsxDEV } from "../node_modules/.pnpm/[email protected]/node_modules/react/jsx-dev-runtime.js";
1717
//#region src/component-a.jsx
18-
var _jsxFileName$1 = "/Users/tim/Documents/Repositories/sentry-javascript-bundler-plugins/packages/integration-tests-next/fixtures/vite8/src/component-a.jsx";
18+
var _jsxFileName$1 = "/fixtures/vite8/src/component-a.jsx";
1919
function ComponentA() {
2020
return /* @__PURE__ */ jsxDEV("span", {
2121
"data-sentry-component": "ComponentA",
@@ -29,7 +29,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles }) => {
2929
}
3030
//#endregion
3131
//#region src/app.jsx
32-
var _jsxFileName = "/Users/tim/Documents/Repositories/sentry-javascript-bundler-plugins/packages/integration-tests-next/fixtures/vite8/src/app.jsx";
32+
var _jsxFileName = "/fixtures/vite8/src/app.jsx";
3333
function App() {
3434
return /* @__PURE__ */ jsxDEV("span", {
3535
"data-sentry-component": "App",

0 commit comments

Comments
 (0)