Skip to content

Commit 2414356

Browse files
committed
Switch to .mjs in express tests.
1 parent 9479894 commit 2414356

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

dev-packages/e2e-tests/test-applications/create-remix-app-express/instrument.cjs renamed to dev-packages/e2e-tests/test-applications/create-remix-app-express/instrument.mjs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
const Sentry = require('@sentry/remix');
2-
const process = require('process');
1+
import * as Sentry from '@sentry/remix';
2+
import process from 'process';
33

44
Sentry.init({
55
tracesSampleRate: 1.0, // Capture 100% of the transactions, reduce in production!

dev-packages/e2e-tests/test-applications/create-remix-app-express/server.mjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import './instrument.cjs';
1+
import './instrument.mjs';
22

33
import { createRequestHandler } from '@remix-run/express';
44
import { installGlobals } from '@remix-run/node';

0 commit comments

Comments
 (0)