Skip to content

Commit

Permalink
Also observer .didChange in ProfileManager tests
Browse files Browse the repository at this point in the history
Remote import may not trigger objectWillChange.
  • Loading branch information
keeshux committed Nov 23, 2024
1 parent 6cccd50 commit 8cae800
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -711,8 +711,8 @@ private extension ProfileManagerTests {
) async throws {
let exp = expectation(description: description)
var wasMet = false
sut.objectWillChange
.sink {
Publishers.CombineLatest(sut.objectWillChange, sut.didChange)
.sink { _ in
guard !wasMet else {
return
}
Expand Down

0 comments on commit 8cae800

Please sign in to comment.