add note on setupTestServerContext

This commit is contained in:
2025-02-04 10:56:36 -08:00
parent b918bf7a67
commit dccee459c3

View File

@@ -17,6 +17,10 @@ function setUpTestServer() {
}); });
} }
/**
* Returns a `ServerContext` object which can be passed to requests
* for testing.
*/
export function setupTestServerContext() { export function setupTestServerContext() {
const context: { [key: string] : any } = {}; const context: { [key: string] : any } = {};