mirror of
https://github.com/brendan-ch/project-inter-server.git
synced 2026-04-17 07:50:31 +00:00
add note on setupTestServerContext
This commit is contained in:
@@ -17,6 +17,10 @@ function setUpTestServer() {
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a `ServerContext` object which can be passed to requests
|
||||
* for testing.
|
||||
*/
|
||||
export function setupTestServerContext() {
|
||||
const context: { [key: string] : any } = {};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user