test: stabilize view model golden output (#1752)
Co-authored-by: Drew Smirnoff <drew@charm.land>
This commit is contained in:
parent
bd09ae6834
commit
b3b8f982fe
1 changed files with 3 additions and 0 deletions
|
|
@ -138,6 +138,9 @@ func TestViewModel(t *testing.T) {
|
|||
|
||||
m := &testViewModel{testModel: &testModel{}}
|
||||
p := NewProgram(m,
|
||||
// Keep the renderer ticker from introducing intermediate frames into
|
||||
// this golden-output test.
|
||||
WithFPS(1),
|
||||
// Set the initial window size for the program.
|
||||
WithWindowSize(80, 24),
|
||||
// Use ANSI256 to increase test coverage.
|
||||
|
|
|
|||
Loading…
Reference in a new issue