Fix codegen test running before init is done

This commit is contained in:
Ming Ming 2023-12-06 22:04:27 +08:00
parent cd5e771044
commit 04d7441fc0

View file

@ -3,8 +3,8 @@ import 'package:test/test.dart';
import 'util.dart';
void main() {
resolveCompilationUnit("test/src/drift_table_sort.dart");
void main() async {
await resolveCompilationUnit("test/src/drift_table_sort.dart");
tearDown(() {
// Increment this after each test so the next test has it's own package
_pkgCacheCount++;