Merge branch 'spike/block2-derisking'

This commit is contained in:
vjrj 2026-07-10 12:42:33 +02:00
commit 1750f3fa97
22 changed files with 576 additions and 16 deletions

View file

@ -0,0 +1,20 @@
import 'package:flutter_test/flutter_test.dart';
import 'package:tane/services/profile_store.dart';
import '../support/test_support.dart';
void main() {
late ProfileStore store;
setUp(() => store = ProfileStore(InMemorySecretStore()));
test('defaults are empty', () async {
expect(await store.name(), '');
expect(await store.about(), '');
});
test('save then read back, trimmed', () async {
await store.save(name: ' Alicia ', about: ' tomate rosa ');
expect(await store.name(), 'Alicia');
expect(await store.about(), 'tomate rosa');
});
}