Made visual improvements to the RecordingView view in the Recording package target.
This commit is contained in:
@@ -153,7 +153,7 @@ struct RecordingViewModelTests {
|
||||
|
||||
@Test(arguments: zip(
|
||||
[Model.State.notRecording, .recording, .paused, .processing],
|
||||
[false, false, true, false]
|
||||
[false, false, true, true]
|
||||
))
|
||||
func `discard button is visible only while paused`(
|
||||
for state: Model.State,
|
||||
@@ -163,7 +163,7 @@ struct RecordingViewModelTests {
|
||||
|
||||
model.drive(to: state)
|
||||
|
||||
#expect(model.shouldShowDiscard == expected)
|
||||
#expect(model.shouldShowActions == expected)
|
||||
}
|
||||
|
||||
@Test(arguments: zip(
|
||||
@@ -178,7 +178,7 @@ struct RecordingViewModelTests {
|
||||
|
||||
model.drive(to: state)
|
||||
|
||||
#expect(model.shouldShowSend == expected)
|
||||
#expect(model.shouldShowActions == expected)
|
||||
}
|
||||
|
||||
@Test(arguments: zip(
|
||||
|
||||
Reference in New Issue
Block a user