import 'dart:async'; import 'package:drift/drift.dart'; /// Each test builds its own in-memory database, which is safe because no two /// share an executor, but it trips drift's shared-executor warning and buries /// the rest of the output. Future testExecutable(FutureOr Function() testMain) async { driftRuntimeOptions.dontWarnAboutMultipleDatabases = true; await testMain(); }