Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request includes several changes aimed at updating test configurations and dependencies, as well as refactoring imports and adding a new utility class. The most important changes include renaming and adding test scripts, removing a dependency, refactoring imports, and adding a new
ValueSubject
class.Test configuration updates:
.github/workflows/rxdart-test.yml
: Renamed the test job toRun rxdart tests
and added a new job to runrxdart_flutter
tests.melos.yaml
: Added a new scripttest-rxdart-flutter
to run tests for therxdart_flutter
package.Dependency updates:
packages/rxdart_flutter/pubspec.yaml
: Removed therxdart_ext
dependency.Import refactoring:
packages/rxdart_flutter/test/src/not_replay_value_stream_builder_test.dart
,packages/rxdart_flutter/test/src/not_replay_value_stream_consumer_test.dart
,packages/rxdart_flutter/test/src/not_replay_value_stream_listener_test.dart
: Refactored imports to replacerxdart_ext
with a local import ofrxdart_ext/value_subject.dart
. [1] [2] [3]New utility class:
packages/rxdart_flutter/test/src/rxdart_ext/value_subject.dart
: Added theValueSubject
class, which is a specialStreamController
that captures the latest item added to the controller, along with its associated stream and event handling logic.