From 15687259c05aa7ec875a5f8d61d4af2513ccc473 Mon Sep 17 00:00:00 2001 From: Ahmed Hnewa <73608287+freshtechtips@users.noreply.github.com> Date: Sat, 21 Oct 2023 19:33:49 +0300 Subject: [PATCH] Fix tests --- .github/PULL_REQUEST_TEMPLATE.md | 1 + before-push.sh | 23 +++++++++ .../lib/embeds/builders.dart | 2 +- .../lib/embeds/toolbar/camera_button.dart | 2 +- .../lib/embeds/toolbar/image_video_utils.dart | 2 +- .../lib/embeds/toolbar/media_button.dart | 2 +- flutter_quill_extensions/pubspec.yaml | 6 +-- .../models/config/toolbar/configurations.dart | 1 - lib/src/utils/platform.dart | 7 +++ lib/src/widgets/raw_editor/raw_editor.dart | 3 +- lib/src/widgets/toolbar.dart | 47 +++++++++++++++---- .../widgets/toolbar/buttons/font_family.dart | 20 +++++++- lib/src/widgets/toolbar/buttons/history.dart | 5 ++ lib/src/widgets/toolbar/enum.dart | 4 +- test/widgets/editor_test.dart | 1 - 15 files changed, 101 insertions(+), 25 deletions(-) create mode 100755 before-push.sh diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index d365462e..905e0064 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -43,3 +43,4 @@ Closes #IssueNumber - [ ] I have run `dart format .`` on the project - [ ] I have run `dart fix --apply` on the project - [ ] I have run `flutter test` and `flutter analyze` and it passed successfully +- [ ] I have run `./before-push.sh` and everything is fine