Skip to content

Commit 4977e22

Browse files
committed
.
1 parent 561b446 commit 4977e22

File tree

11 files changed

+6
-836
lines changed

11 files changed

+6
-836
lines changed

packages/remix/package.json

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -91,14 +91,8 @@
9191
"fix": "eslint . --format stylish --fix",
9292
"lint": "eslint . --format stylish",
9393
"test": "yarn test:unit",
94-
"test:integration": "run-s test:integration:otel test:integration:legacy",
95-
"test:integration:otel": "export USE_OTEL=1 && yarn test:integration:v2",
96-
"test:integration:legacy": "export USE_OTEL=0 && yarn test:integration:v2",
97-
"test:integration:v2": "run-s test:integration:clean test:integration:prepare test:integration:client test:integration:server",
98-
"test:integration:ci": "run-s test:integration:ci:otel test:integration:ci:legacy",
99-
"test:integration:ci:otel": "USE_OTEL=1 yarn test:integration:ci:common",
100-
"test:integration:ci:legacy": "USE_OTEL=0 yarn test:integration:ci:common",
101-
"test:integration:ci:common": "run-s test:integration:clean test:integration:prepare test:integration:client:ci test:integration:server",
94+
"test:integration": "run-s test:integration:clean test:integration:prepare test:integration:client test:integration:server",
95+
"test:integration:ci": "run-s test:integration:clean test:integration:prepare test:integration:client:ci test:integration:server",
10296
"test:integration:prepare": "(cd test/integration && yarn install)",
10397
"test:integration:clean": "(cd test/integration && rimraf .cache node_modules build)",
10498
"test:integration:client": "yarn playwright install-deps && yarn playwright test test/integration/test/client/ --project='chromium'",

packages/remix/playwright.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const config: PlaywrightTestConfig = {
1313
// Note that 3 is a random number selected to work well with our CI setup
1414
workers: process.env.CI ? 3 : undefined,
1515
webServer: {
16-
command: `(cd test/integration/ && yarn build && yarn ${process.env.USE_OTEL === '1' ? 'start:otel' : 'start'})`,
16+
command: `(cd test/integration/ && yarn build && yarn start)`,
1717
port: 3000,
1818
},
1919
projects: [

packages/remix/test/integration/app/entry.server.tsx

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,5 @@
11
import * as Sentry from '@sentry/remix';
22

3-
if (process.env.USE_OTEL !== '1') {
4-
Sentry.init({
5-
dsn: 'https://public@dsn.ingest.sentry.io/1337',
6-
tracesSampleRate: 1,
7-
tracePropagationTargets: ['example.org'],
8-
});
9-
}
10-
113
import type { EntryContext } from '@remix-run/node';
124
import { RemixServer } from '@remix-run/react';
135
import { renderToString } from 'react-dom/server';

packages/remix/test/integration/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@
55
"scripts": {
66
"build": "remix build",
77
"dev": "remix dev",
8-
"start": "remix-serve build/index.js",
9-
"start:otel": "NODE_OPTIONS='--import=./instrument.server.mjs' remix-serve build/index.js"
8+
"start": "NODE_OPTIONS='--import=./instrument.server.mjs' remix-serve build/index.js"
109
},
1110
"dependencies": {
1211
"@remix-run/express": "2.15.2",

0 commit comments

Comments
 (0)