Skip to content

Commit

Permalink
test(dynamite_end_to_end_test): test the clients generated by dynamite
Browse files Browse the repository at this point in the history
Signed-off-by: Nikolas Rimikis <[email protected]>
  • Loading branch information
Leptopoda committed Dec 10, 2023
1 parent 866d1c1 commit 8951c89
Show file tree
Hide file tree
Showing 6 changed files with 2,068 additions and 1 deletion.
1 change: 1 addition & 0 deletions cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
],
"ignorePaths": [
"**.svg",
"**.mocks.dart",
"**/assets",
"**/l10n/!(en.arb)",
"external",
Expand Down
1 change: 1 addition & 0 deletions packages/dynamite/dynamite_end_to_end_test/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ dev_dependencies:
git:
url: https://github.com/nextcloud/neon
path: packages/dynamite/dynamite
mockito: ^5.4.3
neon_lints:
git:
url: https://github.com/nextcloud/neon
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
@GenerateNiceMocks([
MockSpec<HttpClient>(),
MockSpec<HttpClientRequest>(),
MockSpec<HttpClientResponse>(),
MockSpec<HttpHeaders>(),
])

import 'package:mockito/annotations.dart';
import 'package:universal_io/io.dart';
Loading

0 comments on commit 8951c89

Please sign in to comment.