chore: Standardize code, comments and docs on US-English spelling (#2707)
This commit is contained in:
@@ -87,13 +87,13 @@ export const getTestMediaRequestCount = (url: string): number => {
|
||||
/**
|
||||
* Serves a fixture at `/test-media/<file>`, behaving as the query asks:
|
||||
*
|
||||
* token Which counter the request belongs to, so that a test's
|
||||
* behaviour does not depend on what ran before it.
|
||||
* responses The status to answer each request with, in order: `200` serves
|
||||
* the file and anything else is sent as an empty error.
|
||||
* repeat What to do once the `responses` list is exhausted: answer every
|
||||
* request after it as the last one was, or never answer again
|
||||
* (i.e. camera going quiet).
|
||||
* token Which counter the request belongs to, so that a test's behavior
|
||||
* does not depend on what ran before it. responses The status to
|
||||
* answer each request with, in order: `200` serves the file and
|
||||
* anything else is sent as an empty error. repeat What to do
|
||||
* once the `responses` list is exhausted: answer every request
|
||||
* after it as the last one was, or never answer again (i.e. camera
|
||||
* going quiet).
|
||||
*
|
||||
* Answered from within the page rather than by a server, because a request the
|
||||
* page is still waiting on holds one of the handful of connections a browser
|
||||
|
||||
Reference in New Issue
Block a user