Skip to content

Commit 42e9b23

Browse files
authored
test(e2e): Enable ESM loader test (#12020)
Supersedes #11912 I just cleaned up and renamed this to align with other things
1 parent 13b1897 commit 42e9b23

File tree

34 files changed

+162
-78
lines changed

34 files changed

+162
-78
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1003,7 +1003,7 @@ jobs:
10031003
'create-remix-app-express',
10041004
'create-remix-app-express-vite-dev',
10051005
'debug-id-sourcemaps',
1006-
# 'esm-loader-node-express-app', # This is currently broken for upstream reasons. See https://github.com/getsentry/sentry-javascript/pull/11338#issuecomment-2025450675
1006+
'node-express-esm-loader',
10071007
'nextjs-app-dir',
10081008
'nextjs-14',
10091009
'react-create-hash-router',

dev-packages/e2e-tests/test-applications/angular-17/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"test": "playwright test",
1212
"test:build": "pnpm install && npx playwright install && pnpm build",
1313
"test:assert": "playwright test",
14-
"clean": "npx rimraf .angular,node_modules,pnpm-lock.yaml,dist"
14+
"clean": "npx rimraf .angular node_modules pnpm-lock.yaml dist"
1515
},
1616
"private": true,
1717
"dependencies": {

dev-packages/e2e-tests/test-applications/cloudflare-astro/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"astro": "astro",
88
"build": "astro build",
99
"build:bundle": "astro build",
10-
"clean": "npx rimraf node_modules,pnpm-lock.yaml",
10+
"clean": "npx rimraf node_modules pnpm-lock.yaml",
1111
"dev": "astro dev",
1212
"preview": "astro preview",
1313
"start": "astro dev",

dev-packages/e2e-tests/test-applications/create-next-app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"private": true,
55
"scripts": {
66
"build": "next build",
7-
"clean": "npx rimraf node_modules,pnpm-lock.yaml",
7+
"clean": "npx rimraf node_modules pnpm-lock.yaml",
88
"test:prod": "TEST_ENV=prod playwright test",
99
"test:dev": "TEST_ENV=dev playwright test",
1010
"test:build": "pnpm install && npx playwright install && pnpm build",

dev-packages/e2e-tests/test-applications/create-react-app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"build": "react-scripts build",
2323
"test": "react-scripts test",
2424
"eject": "react-scripts eject",
25-
"clean": "npx rimraf node_modules,pnpm-lock.yaml",
25+
"clean": "npx rimraf node_modules pnpm-lock.yaml",
2626
"test:build": "pnpm install && pnpm build",
2727
"test:build-ts3.8": "pnpm install && pnpm add [email protected] && pnpm build",
2828
"test:build-canary": "pnpm install && pnpm add react@canary react-dom@canary && pnpm build",

dev-packages/e2e-tests/test-applications/create-remix-app-express-vite-dev/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"lint": "eslint --ignore-path .gitignore --cache --cache-location ./node_modules/.cache/eslint .",
88
"start": "cross-env NODE_ENV=production node ./server.mjs",
99
"typecheck": "tsc",
10-
"clean": "npx rimraf node_modules,pnpm-lock.yaml",
10+
"clean": "npx rimraf node_modules pnpm-lock.yaml",
1111
"test:build": "pnpm install && npx playwright install && pnpm build",
1212
"test:assert": "pnpm playwright test"
1313
},

dev-packages/e2e-tests/test-applications/create-remix-app-express/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"lint": "eslint --ignore-path .gitignore --cache --cache-location ./node_modules/.cache/eslint .",
99
"start": "cross-env NODE_ENV=production node ./server.mjs",
1010
"typecheck": "tsc",
11-
"clean": "npx rimraf node_modules,pnpm-lock.yaml",
11+
"clean": "npx rimraf node_modules pnpm-lock.yaml",
1212
"test:build": "pnpm install && npx playwright install && pnpm build",
1313
"test:assert": "pnpm playwright test"
1414
},

dev-packages/e2e-tests/test-applications/create-remix-app-v2/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"dev": "remix dev",
77
"start": "remix-serve build/index.js",
88
"typecheck": "tsc",
9-
"clean": "npx rimraf node_modules,pnpm-lock.yaml",
9+
"clean": "npx rimraf node_modules pnpm-lock.yaml",
1010
"test:build": "pnpm install && npx playwright install && pnpm build",
1111
"test:assert": "pnpm playwright test"
1212
},

dev-packages/e2e-tests/test-applications/create-remix-app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"dev": "remix dev",
77
"start": "remix-serve build",
88
"typecheck": "tsc",
9-
"clean": "npx rimraf node_modules,pnpm-lock.yaml",
9+
"clean": "npx rimraf node_modules pnpm-lock.yaml",
1010
"test:build": "pnpm install && npx playwright install && pnpm build",
1111
"test:assert": "pnpm playwright test"
1212
},

dev-packages/e2e-tests/test-applications/debug-id-sourcemaps/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"scripts": {
66
"build": "rollup --config rollup.config.mjs",
77
"test": "vitest run",
8-
"clean": "npx rimraf node_modules,pnpm-lock.yaml",
8+
"clean": "npx rimraf node_modules pnpm-lock.yaml",
99
"test:build": "pnpm install && pnpm build",
1010
"test:assert": "pnpm test"
1111
},

0 commit comments

Comments
 (0)