mirror of https://github.com/AMT-Cheif/drift.git
Wait for main isolate to be ready in devtools test
This commit is contained in:
parent
0b537b50c1
commit
8f5afafd3e
|
@ -43,12 +43,12 @@ void main() {
|
|||
});
|
||||
|
||||
await vmServiceListening.future;
|
||||
|
||||
vm = await vmServiceConnectUri('ws://localhost:$port/ws');
|
||||
await databaseOpened.future;
|
||||
|
||||
final state = await vm.getVM();
|
||||
isolateId = state.isolates!.single.id!;
|
||||
|
||||
await databaseOpened.future;
|
||||
});
|
||||
|
||||
tearDownAll(() async {
|
||||
|
|
Loading…
Reference in New Issue