Skip to content

Commit 00babcc

Browse files
committed
Add require calls and change package.json
1 parent 7cb742a commit 00babcc

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

dev-packages/e2e-tests/test-applications/node-profiling/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import * as Sentry from '@sentry/node';
2-
import { nodeProfilingIntegration } from '@sentry/profiling-node';
1+
const Sentry = require('@sentry/node');
2+
const { nodeProfilingIntegration } = require('@sentry/profiling-node');
33

44
const wait = (ms: number) => new Promise(resolve => setTimeout(resolve, ms));
55

dev-packages/e2e-tests/test-applications/node-profiling/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@
55
"scripts": {
66
"typecheck": "tsc --noEmit",
77
"build": "node build.mjs",
8-
"start": "node index.js",
9-
"test": "node index.js && node build.mjs",
8+
"test": "npm run build && node dist/index.js",
109
"clean": "npx rimraf node_modules",
1110
"test:build": "npm run typecheck && npm run build",
1211
"test:assert": "npm run test"

0 commit comments

Comments
 (0)