File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
packages/app-runtime/test/runtime Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -10,15 +10,13 @@ describe("Offboarding", function () {
1010 let localAccount2Id : string ;
1111 let device2Id : string ;
1212
13- beforeAll ( async function ( ) {
13+ beforeEach ( async function ( ) {
1414 // as we can't pop up multiple runtimes we have to allow multiple accounts with
1515 // the same address to test offboarding
1616 const configOverride = { allowMultipleAccountsWithSameAddress : true } ;
1717 runtime = await TestUtil . createRuntime ( configOverride ) ;
1818 await runtime . start ( ) ;
19- } ) ;
2019
21- beforeEach ( async function ( ) {
2220 const [ localAccount1 ] = await TestUtil . provideAccounts ( runtime , 1 ) ;
2321 services1 = await runtime . getServices ( localAccount1 . id ) ;
2422
@@ -35,7 +33,7 @@ describe("Offboarding", function () {
3533 await services1 . transportServices . account . syncDatawallet ( ) ;
3634 } ) ;
3735
38- afterAll ( async function ( ) {
36+ afterEach ( async function ( ) {
3937 await runtime . stop ( ) ;
4038 } ) ;
4139
You can’t perform that action at this time.
0 commit comments