Skip to content

Commit b019b0b

Browse files
committed
fix node-integration-tests
1 parent 1bf65a7 commit b019b0b

7 files changed

Lines changed: 14 additions & 14 deletions

File tree

dev-packages/node-integration-tests/suites/child-process/test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,13 @@ const CHILD_EVENT: Event = {
3030
},
3131
],
3232
},
33-
breadcrumbs: [
33+
breadcrumbs: expect.arrayContaining([
3434
{
3535
category: 'child_process',
3636
message: "Child process exited with code '1'",
3737
level: 'warning',
3838
},
39-
],
39+
]),
4040
};
4141

4242
describe('should capture child process events', () => {

dev-packages/node-integration-tests/suites/tracing/requests/fetch-breadcrumbs/test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ describe('outgoing fetch', () => {
1111
.withEnv({ SERVER_URL })
1212
.expect({
1313
event: {
14-
breadcrumbs: [
14+
breadcrumbs: expect.arrayContaining([
1515
{
1616
message: 'manual breadcrumb',
1717
timestamp: expect.any(Number),
@@ -60,7 +60,7 @@ describe('outgoing fetch', () => {
6060
timestamp: expect.any(Number),
6161
type: 'http',
6262
},
63-
],
63+
]),
6464
exception: {
6565
values: [
6666
{

dev-packages/node-integration-tests/suites/tracing/requests/fetch-no-trace-propagation/test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ describe('outgoing fetch with tracePropagation disabled', () => {
2222
.withEnv({ SERVER_URL })
2323
.expect({
2424
event: {
25-
breadcrumbs: [
25+
breadcrumbs: expect.arrayContaining([
2626
{
2727
message: 'manual breadcrumb',
2828
timestamp: expect.any(Number),
@@ -47,7 +47,7 @@ describe('outgoing fetch with tracePropagation disabled', () => {
4747
timestamp: expect.any(Number),
4848
type: 'http',
4949
},
50-
],
50+
]),
5151
exception: {
5252
values: [
5353
{

dev-packages/node-integration-tests/suites/tracing/requests/http-breadcrumbs/test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ describe('outgoing http', () => {
1111
.withEnv({ SERVER_URL })
1212
.expect({
1313
event: {
14-
breadcrumbs: [
14+
breadcrumbs: expect.arrayContaining([
1515
{
1616
message: 'manual breadcrumb',
1717
timestamp: expect.any(Number),
@@ -60,7 +60,7 @@ describe('outgoing http', () => {
6060
timestamp: expect.any(Number),
6161
type: 'http',
6262
},
63-
],
63+
]),
6464
exception: {
6565
values: [
6666
{

dev-packages/node-integration-tests/suites/tracing/requests/http-no-trace-propagation/test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ describe('outgoing http with tracePropagation disabled', () => {
2222
.withEnv({ SERVER_URL })
2323
.expect({
2424
event: {
25-
breadcrumbs: [
25+
breadcrumbs: expect.arrayContaining([
2626
{
2727
message: 'manual breadcrumb',
2828
timestamp: expect.any(Number),
@@ -47,7 +47,7 @@ describe('outgoing http with tracePropagation disabled', () => {
4747
timestamp: expect.any(Number),
4848
type: 'http',
4949
},
50-
],
50+
]),
5151
exception: {
5252
values: [
5353
{

dev-packages/node-integration-tests/suites/tracing/requests/http-no-tracing-no-spans/test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ describe('outgoing http requests with tracing & spans disabled', () => {
4040
},
4141
],
4242
},
43-
breadcrumbs: [
43+
breadcrumbs: expect.arrayContaining([
4444
{
4545
message: 'manual breadcrumb',
4646
timestamp: expect.any(Number),
@@ -89,7 +89,7 @@ describe('outgoing http requests with tracing & spans disabled', () => {
8989
timestamp: expect.any(Number),
9090
type: 'http',
9191
},
92-
],
92+
]),
9393
},
9494
})
9595
.start()

dev-packages/node-integration-tests/suites/tracing/requests/http-no-tracing/test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ describe('outgoing http', () => {
4040
},
4141
],
4242
},
43-
breadcrumbs: [
43+
breadcrumbs: expect.arrayContaining([
4444
{
4545
message: 'manual breadcrumb',
4646
timestamp: expect.any(Number),
@@ -89,7 +89,7 @@ describe('outgoing http', () => {
8989
timestamp: expect.any(Number),
9090
type: 'http',
9191
},
92-
],
92+
]),
9393
},
9494
})
9595
.start()

0 commit comments

Comments
 (0)