Fix a conflict with this unit test and the TestVKPacket unit test.

This commit is contained in:
BDisp
2024-04-22 00:05:07 +01:00
parent 2ba162405e
commit 9646c101b0

View File

@@ -1246,6 +1246,10 @@ namespace Terminal.Gui.ViewTests {
Application.Run ();
// Ensures cleaning any keystroke.
// This was conflicting with the TestVKPacket unit test
Console.MockKeyPresses.Clear ();
// Shutdown must be called to safely clean up Application if Init has been called
Application.Shutdown ();
}