Skip to content

Commit 0bf6636

Browse files
fix(sample-e2e): Fix type errors missing sentry/core and afterAll (#4564)
1 parent b754aa3 commit 0bf6636

File tree

6 files changed

+6
-4
lines changed

6 files changed

+6
-4
lines changed

samples/react-native/e2e/captureMessage.test.android.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { describe, it, beforeAll, expect } from '@jest/globals';
1+
import { describe, it, beforeAll, expect, afterAll } from '@jest/globals';
22
import { Envelope } from '@sentry/core';
33
import { device } from 'detox';
44
import {

samples/react-native/e2e/captureMessage.test.ios.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { describe, it, beforeAll, expect } from '@jest/globals';
1+
import { describe, it, beforeAll, expect, afterAll } from '@jest/globals';
22
import { Envelope } from '@sentry/core';
33
import { device } from 'detox';
44
import {

samples/react-native/e2e/envelopeHeader.test.android.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { describe, it, beforeAll, expect } from '@jest/globals';
1+
import { describe, it, beforeAll, expect, afterAll } from '@jest/globals';
22
import { Envelope } from '@sentry/core';
33
import { device } from 'detox';
44
import {

samples/react-native/e2e/envelopeHeader.test.ios.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { describe, it, beforeAll, expect } from '@jest/globals';
1+
import { describe, it, beforeAll, expect, afterAll } from '@jest/globals';
22
import { Envelope } from '@sentry/core';
33
import { device } from 'detox';
44
import {

samples/react-native/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@
5353
"@react-native/metro-config": "0.77.0",
5454
"@react-native/typescript-config": "0.77.0",
5555
"@sentry/babel-plugin-component-annotate": "^3.1.2",
56+
"@sentry/core": "8.54.0",
5657
"@types/react": "^18.2.65",
5758
"@types/react-native-vector-icons": "^6.4.18",
5859
"@types/react-test-renderer": "^18.0.0",

yarn.lock

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25067,6 +25067,7 @@ __metadata:
2506725067
"@react-navigation/native-stack": ^7.2.0
2506825068
"@react-navigation/stack": ^7.1.1
2506925069
"@sentry/babel-plugin-component-annotate": ^3.1.2
25070+
"@sentry/core": 8.54.0
2507025071
"@sentry/react-native": 6.7.0
2507125072
"@types/react": ^18.2.65
2507225073
"@types/react-native-vector-icons": ^6.4.18

0 commit comments

Comments
 (0)