File tree Expand file tree Collapse file tree 1 file changed +0
-23
lines changed Expand file tree Collapse file tree 1 file changed +0
-23
lines changed Original file line number Diff line number Diff line change @@ -543,29 +543,6 @@ describe('Scope', () => {
543
543
} ) ;
544
544
} ) ;
545
545
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
-
569
546
describe ( 'setClient() and getClient()' , ( ) => {
570
547
it ( 'allows storing and retrieving client objects' , ( ) => {
571
548
const fakeClient = { } as Client ;
You can’t perform that action at this time.
0 commit comments