refactor: logger service and remove dynamic (#17733)

Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
This commit is contained in:
shenlong 2025-06-09 08:31:31 +05:30 committed by GitHub
parent 7b2237b86b
commit 2d05a5482f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
13 changed files with 119 additions and 140 deletions

View file

@ -74,7 +74,7 @@ void main() {
setUp(() async {
when(() => mockStoreRepo.insert<int>(StoreKey.logLevel, any()))
.thenAnswer((_) async => true);
await sut.setlogLevel(LogLevel.shout);
await sut.setLogLevel(LogLevel.shout);
});
test('Updates the log level in store', () {