Skip to content

Commit 0234785

Browse files
committed
add blank lines between node client tests
1 parent 9142cf7 commit 0234785

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/node/test/client.test.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ describe('NodeClient', () => {
2727
const requestSession = scope.getRequestSession();
2828
expect(requestSession!.status).toEqual('ok');
2929
});
30+
3031
test('when autoSessionTracking is disabled -> requestStatus should not be set', () => {
3132
const options = getDefaultNodeClientOptions({ dsn: PUBLIC_DSN, autoSessionTracking: false, release: '1.4' });
3233
client = new NodeClient(options);
@@ -42,6 +43,7 @@ describe('NodeClient', () => {
4243
const requestSession = scope.getRequestSession();
4344
expect(requestSession!.status).toEqual('ok');
4445
});
46+
4547
test('when autoSessionTracking is enabled + requestSession status is Crashed -> requestStatus should not be overridden', () => {
4648
const options = getDefaultNodeClientOptions({ dsn: PUBLIC_DSN, autoSessionTracking: true, release: '1.4' });
4749
client = new NodeClient(options);
@@ -57,6 +59,7 @@ describe('NodeClient', () => {
5759
const requestSession = scope.getRequestSession();
5860
expect(requestSession!.status).toEqual('crashed');
5961
});
62+
6063
test('when autoSessionTracking is enabled + error occurs within request bounds -> requestStatus should be set to Errored', () => {
6164
const options = getDefaultNodeClientOptions({ dsn: PUBLIC_DSN, autoSessionTracking: true, release: '1.4' });
6265
client = new NodeClient(options);
@@ -72,6 +75,7 @@ describe('NodeClient', () => {
7275
const requestSession = scope.getRequestSession();
7376
expect(requestSession!.status).toEqual('errored');
7477
});
78+
7579
test('when autoSessionTracking is enabled + error occurs outside of request bounds -> requestStatus should not be set to Errored', () => {
7680
const options = getDefaultNodeClientOptions({ dsn: PUBLIC_DSN, autoSessionTracking: true, release: '1.4' });
7781
client = new NodeClient(options);

0 commit comments

Comments
 (0)