forked from eatvio/eatvio_app
refactor(tests): update model instantiation to use const for improved performance
This commit is contained in:
@@ -26,10 +26,10 @@ void main() {
|
||||
mockFeedRepository = MockFeedRepository();
|
||||
mockCommentsRepository = MockCommentsRepository();
|
||||
|
||||
testCommentModel = CommentModel(
|
||||
testCommentModel = const CommentModel(
|
||||
data: [],
|
||||
links: const Links(first: '', last: '', prev: null, next: null),
|
||||
meta: const Meta(
|
||||
links: Links(first: '', last: '', prev: null, next: null),
|
||||
meta: Meta(
|
||||
currentPage: 1,
|
||||
from: null,
|
||||
lastPage: 1,
|
||||
|
||||
Reference in New Issue
Block a user