Skip to content

Commit 392a5cf

Browse files
committed
fix tests lol
1 parent b383022 commit 392a5cf

File tree

2 files changed

+2
-4
lines changed
  • dev-packages/browser-integration-tests/suites/sessions/initial-scope

2 files changed

+2
-4
lines changed

dev-packages/browser-integration-tests/suites/sessions/initial-scope/init.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,6 @@ Sentry.init({
1111
1212
username: 'user1337',
1313
},
14-
tags: {
15-
test: 'abc',
16-
},
1714
},
1815
debug: true,
1916
});

dev-packages/browser-integration-tests/suites/sessions/initial-scope/test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ sentryTest('should start a new session on pageload.', async ({ getLocalTestPath,
1313
expect(session.init).toBe(true);
1414
expect(session.errors).toBe(0);
1515
expect(session.status).toBe('ok');
16-
expect(session.did).toBe('dsdd');
16+
expect(session.did).toBe('1337');
1717
});
1818

1919
sentryTest('should start a new session with navigation.', async ({ getLocalTestPath, page, browserName }) => {
@@ -37,4 +37,5 @@ sentryTest('should start a new session with navigation.', async ({ getLocalTestP
3737
expect(newSession.status).toBe('ok');
3838
expect(newSession.sid).toBeDefined();
3939
expect(initSession.sid).not.toBe(newSession.sid);
40+
expect(newSession.did).toBe('1337');
4041
});

0 commit comments

Comments
 (0)