mobxjs / mobx.dart

MobX for the Dart language. Hassle-free, reactive state-management for your Dart and Flutter apps.
https://mobx.netlify.app
MIT License
2.39k stars 311 forks source link

"Observer child not in immediate context is not rebuilt" test added #910

Closed subzero911 closed 1 year ago

subzero911 commented 1 year ago

Added a test checking that Observer's child not in immediate context will not be rebuilt

related to PR https://github.com/mobxjs/mobx.dart/pull/909 , issue https://github.com/mobxjs/mobx.dart/issues/551


Pull Request Checklist

codecov[bot] commented 1 year ago

Codecov Report

Merging #910 (f84645e) into master (d99a5c6) will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##            master      #910   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            5         5           
  Lines           97        97           
=========================================
  Hits            97        97           
Flag Coverage Δ
flutter_mobx 100.00% <ø> (ø)

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


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update d99a5c6...f84645e. Read the comment docs.

subzero911 commented 1 year ago

Wrong test, see https://github.com/mobxjs/mobx.dart/issues/911