Selaa lähdekoodia

Fix missing widget dispose in test

Steven Silvester 8 vuotta sitten
vanhempi
commit
97ef9040c6
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. 1 0
      test/src/cells/widget.spec.ts

+ 1 - 0
test/src/cells/widget.spec.ts

@@ -606,6 +606,7 @@ describe('notebook/cells/widget', () => {
             return method === 'onUpdateRequest';
           });
           expect(updates).to.have.length(1);
+          widget.dispose();
           done();
         });
       });