rm var sentry #183
tests-coverage.yaml
on: push
Run tests and collect coverage
24s
Annotations
2 errors and 1 warning
src/utils/__tests__/SentryInit.spec.ts > SentryInit > when SENTRY_DSN is defined > Sentry init should be called:
src/utils/__tests__/SentryInit.spec.ts#L29
AssertionError: expected "spy" to be called with arguments: [ ObjectContaining{…} ]
Received:
1st spy call:
Array [
- ObjectContaining {
+ Object {
"app": Object {
"name": "Commerce",
},
"dsn": "sentry@dsn",
- "integrations": ArrayContaining [
+ "environment": undefined,
+ "integrations": Array [
"browserTracingIntegration",
"replayIntegration",
],
- "release": StringMatching /^commerce-webapp@\d+\.\d+\.\d+$/,
+ "release": "name_sentry_test@$skjfhsdkhfkj2837462876487236432",
+ "replaysOnErrorSampleRate": 1,
+ "replaysSessionSampleRate": 0.1,
+ "tracesSampleRate": 1,
},
]
Number of calls: 1
❯ src/utils/__tests__/SentryInit.spec.ts:29:20
|
Run tests and collect coverage
Process completed with exit code 1.
|
Run tests and collect coverage
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|