AnalogIO / coffeecard_app

Cross-platform coffee card app for Cafe Analog
https://www.cafeanalog.dk/app
MIT License
6 stars 1 forks source link

refactor environment logic #469

Closed fremartini closed 1 year ago

ghost commented 1 year ago
👇 Click on the image for a new way to code review #### [![Review these changes using an interactive CodeSee Map](https://s3.us-east-2.amazonaws.com/maps.codesee.io/images/github/AnalogIO/coffeecard_app/469/762c9d6b/25219d77c853816d3c5655a1362e441beb931105.svg)](https://app.codesee.io/r/reviews?pr=469&src=https%3A%2F%2Fgithub.com%2FAnalogIO%2Fcoffeecard_app) #### Legend CodeSee Map legend
codecov[bot] commented 1 year ago

Codecov Report

Merging #469 (5e823d2) into develop (7070c6f) will increase coverage by 1.10%. The diff coverage is 87.50%.

@@             Coverage Diff             @@
##           develop     #469      +/-   ##
===========================================
+ Coverage    66.10%   67.20%   +1.10%     
===========================================
  Files          100      101       +1     
  Lines         1118     1122       +4     
===========================================
+ Hits           739      754      +15     
+ Misses         379      368      -11     
Flag Coverage Δ
unittests 67.20% <87.50%> (+1.10%) :arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...ironment/presentation/cubit/environment_state.dart 80.00% <ø> (ø)
...tures/environment/domain/entities/environment.dart 66.66% <66.66%> (ø)
...ta/datasources/environment_remote_data_source.dart 100.00% <100.00%> (ø)
...ironment/domain/usecases/get_environment_type.dart 100.00% <100.00%> (ø)
...ironment/presentation/cubit/environment_cubit.dart 100.00% <100.00%> (ø)