chore: Move the drift_offline_first to legacy in favor of Serverpod implementation (#32)

This commit is contained in:
Marcelo Mendonça Soares 2026-04-05 23:20:21 -03:00 • committed by Marcelo Soares
commit cbc472523b
No known key found for this signature in database
GPG key ID: CB2F09CE66E99EAD

View file

@ -0,0 +1,23 @@
import 'package:test/test.dart';
import 'package:uuid/uuid.dart';
// NOTE: Generated once per test so that the tests are deterministic, but also
// isolated between each other.
String get testNodeId {
_testNodeId ??= const Uuid().v7();
addTearDown(() {
_testNodeId = null;
});
return _testNodeId!;
}
String get testUserId {
_testUserId ??= const Uuid().v7();
addTearDown(() {
_testUserId = null;
});
return _testUserId!;
}
String? _testNodeId;
String? _testUserId;