Skip to content

Commit d068793

Browse files
committed
more tests...
1 parent bd31494 commit d068793

File tree

20 files changed

+35
-23
lines changed

20 files changed

+35
-23
lines changed

dev-packages/e2e-tests/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"ci:build-matrix": "ts-node ./lib/getTestMatrix.ts",
1818
"ci:build-matrix-optional": "ts-node ./lib/getTestMatrix.ts --optional=true",
1919
"ci:copy-to-temp": "ts-node ./ciCopyToTemp.ts",
20-
"clean:test-applications": "rimraf --glob test-applications/**/{node_modules,dist,build,.next,.nuxt,.sveltekit,.react-router,.astro,.output,pnpm-lock.yaml,.last-run.json,test-results}",
20+
"clean:test-applications": "rimraf --glob test-applications/**/{node_modules,dist,build,.next,.nuxt,.sveltekit,.react-router,.astro,.output,pnpm-lock.yaml,.last-run.json,test-results,.angular}",
2121
"clean:pnpm": "pnpm store prune"
2222
},
2323
"devDependencies": {

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"ng": "ng",
66
"dev": "ng serve",
77
"proxy": "node start-event-proxy.mjs",
8-
"preview": "http-server dist/angular-17/browser --port 8080",
8+
"preview": "http-server dist/angular-17/browser --port 8080 --silent",
99
"build": "ng build",
1010
"watch": "ng build --watch --configuration development",
1111
"test": "playwright test",

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"ng": "ng",
66
"dev": "ng serve",
77
"proxy": "node start-event-proxy.mjs",
8-
"preview": "http-server dist/angular-18/browser --port 8080",
8+
"preview": "http-server dist/angular-18/browser --port 8080 --silent",
99
"build": "ng build",
1010
"watch": "ng build --watch --configuration development",
1111
"test": "playwright test",

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"ng": "ng",
66
"dev": "ng serve",
77
"proxy": "node start-event-proxy.mjs",
8-
"preview": "http-server dist/angular-19/browser --port 8080",
8+
"preview": "http-server dist/angular-19/browser --port 8080 --silent",
99
"build": "ng build",
1010
"watch": "ng build --watch --configuration development",
1111
"test": "playwright test",

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"ng": "ng",
66
"dev": "ng serve",
77
"proxy": "node start-event-proxy.mjs",
8-
"preview": "http-server dist/angular-20/browser --port 8080",
8+
"preview": "http-server dist/angular-20/browser --port 8080 --silent",
99
"build": "ng build",
1010
"watch": "ng build --watch --configuration development",
1111
"test": "playwright test",

dev-packages/e2e-tests/test-applications/nestjs-11/src/app.service.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
11
import { HttpException, HttpStatus, Injectable } from '@nestjs/common';
22
import { RpcException } from '@nestjs/microservices';
33
import { Cron, SchedulerRegistry } from '@nestjs/schedule';
4-
import type { MonitorConfig } from '@sentry/core';
54
import * as Sentry from '@sentry/nestjs';
65
import { SentryCron, SentryTraced } from '@sentry/nestjs';
76

8-
const monitorConfig: MonitorConfig = {
7+
const monitorConfig = {
98
schedule: {
109
type: 'crontab',
1110
value: '* * * * *',
1211
},
13-
};
12+
} as const;
1413

1514
@Injectable()
1615
export class AppService {

dev-packages/e2e-tests/test-applications/nestjs-8/src/app.service.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
11
import { HttpException, HttpStatus, Injectable } from '@nestjs/common';
22
import { RpcException } from '@nestjs/microservices';
33
import { Cron, SchedulerRegistry } from '@nestjs/schedule';
4-
import type { MonitorConfig } from '@sentry/core';
54
import * as Sentry from '@sentry/nestjs';
65
import { SentryCron, SentryTraced } from '@sentry/nestjs';
76

8-
const monitorConfig: MonitorConfig = {
7+
const monitorConfig = {
98
schedule: {
109
type: 'crontab',
1110
value: '* * * * *',
1211
},
13-
};
12+
} as const;
1413

1514
@Injectable()
1615
export class AppService {

dev-packages/e2e-tests/test-applications/nestjs-basic/src/app.service.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
11
import { HttpException, HttpStatus, Injectable } from '@nestjs/common';
22
import { RpcException } from '@nestjs/microservices';
33
import { Cron, SchedulerRegistry } from '@nestjs/schedule';
4-
import type { MonitorConfig } from '@sentry/core';
54
import * as Sentry from '@sentry/nestjs';
65
import { SentryCron, SentryTraced } from '@sentry/nestjs';
76

8-
const monitorConfig: MonitorConfig = {
7+
const monitorConfig = {
98
schedule: {
109
type: 'crontab',
1110
value: '* * * * *',
1211
},
13-
};
12+
} as const;
1413

1514
@Injectable()
1615
export class AppService {

dev-packages/e2e-tests/test-applications/nestjs-distributed-tracing/tests/propagation.test.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import crypto from 'crypto';
22
import { expect, test } from '@playwright/test';
33
import { waitForTransaction } from '@sentry-internal/test-utils';
4-
import { SpanJSON } from '@sentry/core';
54

65
test('Propagates trace for outgoing http requests', async ({ baseURL }) => {
76
const id = crypto.randomUUID();
@@ -141,7 +140,7 @@ test('Propagates trace for outgoing fetch requests', async ({ baseURL }) => {
141140
const outboundTransaction = await outboundTransactionPromise;
142141

143142
const traceId = outboundTransaction?.contexts?.trace?.trace_id;
144-
const outgoingHttpSpan = outboundTransaction?.spans?.find(span => span.op === 'http.client') as SpanJSON | undefined;
143+
const outgoingHttpSpan = outboundTransaction?.spans?.find(span => span.op === 'http.client');
145144

146145
expect(outgoingHttpSpan).toBeDefined();
147146

dev-packages/e2e-tests/test-applications/nestjs-fastify/src/app.service.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
11
import { HttpException, HttpStatus, Injectable } from '@nestjs/common';
22
import { RpcException } from '@nestjs/microservices';
33
import { Cron, SchedulerRegistry } from '@nestjs/schedule';
4-
import type { MonitorConfig } from '@sentry/core';
54
import * as Sentry from '@sentry/nestjs';
65
import { SentryCron, SentryTraced } from '@sentry/nestjs';
76

8-
const monitorConfig: MonitorConfig = {
7+
const monitorConfig = {
98
schedule: {
109
type: 'crontab',
1110
value: '* * * * *',
1211
},
13-
};
12+
} as const;
1413

1514
@Injectable()
1615
export class AppService {

0 commit comments

Comments
 (0)