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 () {
10
10
let localAccount2Id : string ;
11
11
let device2Id : string ;
12
12
13
- beforeAll ( async function ( ) {
13
+ beforeEach ( async function ( ) {
14
14
// as we can't pop up multiple runtimes we have to allow multiple accounts with
15
15
// the same address to test offboarding
16
16
const configOverride = { allowMultipleAccountsWithSameAddress : true } ;
17
17
runtime = await TestUtil . createRuntime ( configOverride ) ;
18
18
await runtime . start ( ) ;
19
- } ) ;
20
19
21
- beforeEach ( async function ( ) {
22
20
const [ localAccount1 ] = await TestUtil . provideAccounts ( runtime , 1 ) ;
23
21
services1 = await runtime . getServices ( localAccount1 . id ) ;
24
22
@@ -35,7 +33,7 @@ describe("Offboarding", function () {
35
33
await services1 . transportServices . account . syncDatawallet ( ) ;
36
34
} ) ;
37
35
38
- afterAll ( async function ( ) {
36
+ afterEach ( async function ( ) {
39
37
await runtime . stop ( ) ;
40
38
} ) ;
41
39
You can’t perform that action at this time.
0 commit comments