forked from eatvio/eatvio_app
feat(tests): updated tests coverage to 66.5%
This commit is contained in:
@@ -20,6 +20,14 @@ void main() {
|
||||
|
||||
expect(model.lastPage, 5);
|
||||
});
|
||||
|
||||
test('toJson serializes ChatMetaModel correctly', () {
|
||||
const model = ChatMetaModel(lastPage: 5);
|
||||
|
||||
final json = model.toJson();
|
||||
|
||||
expect(json['last_page'], 5);
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user