Documentation ¶
Index ¶
Constants ¶
View Source
const ExampleGameFramesResponse = `` /* 3196-byte string literal not displayed */
View Source
const ExampleGameResponse = `` /* 1854-byte string literal not displayed */
Variables ¶
This section is empty.
Functions ¶
func StubEngineServer ¶
func StubEngineServer(handler http.HandlerFunc) *httptest.Server
Helper for setting up an engine endpoint that returns a stub response
func TestInRootDir ¶
func TestInRootDir()
Helper to change the current directory to the project root, instead of the directory the test is located in. Required in some tests to ensure assets are located correctly.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.