File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -122,6 +122,7 @@ describe('extension', () => {
122122 assert . ok ( list . length === 1 , 'List should have only one extension' ) ;
123123 const reinstalled = list . find ( e => e . id === extensionId ) ;
124124 assert . ok ( reinstalled , 'Extension should be present after reload' ) ;
125+ await context . uninstallExtension ( EXTENSION_WITH_SW_PATH ) ;
125126 } ) ;
126127 } ) ;
127128 it ( 'triggers an extension action' , async ( ) => {
@@ -147,6 +148,7 @@ describe('extension', () => {
147148 t => t . type ( ) === 'page' && t . url ( ) . includes ( extensionId ) ,
148149 ) ;
149150 assert . ok ( pageTargetAfter , 'Page should exist after action' ) ;
151+ await context . uninstallExtension ( EXTENSION_WITH_SW_PATH ) ;
150152 } ,
151153 { } ,
152154 {
Original file line number Diff line number Diff line change @@ -88,6 +88,7 @@ describe('pages', () => {
8888 '<extension-id>' ,
8989 ) ;
9090 t . assert . snapshot ?.( text ) ;
91+ await context . uninstallExtension ( extensionId ) ;
9192 } ,
9293 { } ,
9394 {
@@ -142,6 +143,7 @@ describe('pages', () => {
142143 '<extension-id>' ,
143144 ) ;
144145 t . assert . snapshot ?.( text ) ;
146+ await context . uninstallExtension ( extensionId ) ;
145147 } ,
146148 { } ,
147149 {
@@ -193,6 +195,7 @@ describe('pages', () => {
193195 '<extension-id>' ,
194196 ) ;
195197 t . assert . snapshot ?.( text ) ;
198+ await context . uninstallExtension ( extensionId ) ;
196199 } ,
197200 { } ,
198201 {
You can’t perform that action at this time.
0 commit comments