tests: add chat model tests(cv: 100)

This commit is contained in:
Udhay-Adithya
2025-09-25 13:37:53 +05:30
parent f2ce403006
commit 066aa0fcf4
10 changed files with 504 additions and 14 deletions

View File

@@ -0,0 +1,11 @@
import 'package:apidash/dashbot/core/error/chat_failure.dart';
import 'package:test/test.dart';
void main() {
group('ChatFailure basics', () {
test('toString format', () {
const f = ChatFailure('network down', code: '503');
expect(f.toString(), 'ChatFailure: network down');
});
});
}