When using signal.MobileSignalHandler in tests, it’s important to reset the handler after the test is finished. Otherwise other tests might block and eventually panic with timeout.

func TestFoo(t *testing.T) {
    signal.MobileSignalHandler(func() {
        // do smth here
    })
    t.Cleanup(signal.ResetMobileSignalHandler)
}

https://github.com/status-im/status-go/pull/5793