refactor (events): QOL fix: turn off events for tests. (#3163)

This commit is contained in:
Jim authored and GitHub committed 2023-04-14 20:01:14 -04:00
1 parent 8c265bf7c1
commit a4f54cb98f
15 files changed
+196 -55

No files matched your search

+2 -2
View File
@@ -57,11 +57,11 @@ func Test_TestController(t *testing.T) {
}
assert.Empty(captureFn(func() {
tc := NewTestController(t, &TestControllerOpts{DisableEventing: true})
tc := NewTestController(t, nil)
defer tc.Shutdown()
}))
assert.NotEmpty(captureFn(func() {
tc := NewTestController(t, nil)
tc := NewTestController(t, &TestControllerOpts{EnableEventing: true})
defer tc.Shutdown()
}))
})