Skip to content

Commit 0d202df

Browse files
committed
fix test
1 parent 29c4ad2 commit 0d202df

File tree

1 file changed

+0
-23
lines changed

1 file changed

+0
-23
lines changed

packages/core/test/lib/scope.test.ts

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -543,29 +543,6 @@ describe('Scope', () => {
543543
});
544544
});
545545

546-
describe('getAttachments', () => {
547-
/* eslint-disable deprecation/deprecation */
548-
it('works without any data', async () => {
549-
const scope = new Scope();
550-
551-
const actual = scope.getAttachments();
552-
expect(actual).toEqual([]);
553-
});
554-
555-
it('works with attachments', async () => {
556-
const attachment1 = { filename: '1' } as Attachment;
557-
const attachment2 = { filename: '2' } as Attachment;
558-
559-
const scope = new Scope();
560-
scope.addAttachment(attachment1);
561-
scope.addAttachment(attachment2);
562-
563-
const actual = scope.getAttachments();
564-
expect(actual).toEqual([attachment1, attachment2]);
565-
});
566-
/* eslint-enable deprecation/deprecation */
567-
});
568-
569546
describe('setClient() and getClient()', () => {
570547
it('allows storing and retrieving client objects', () => {
571548
const fakeClient = {} as Client;

0 commit comments

Comments
 (0)