filterRemotePagesFromConfig(config: Config): Promise<string[]>
The inputs of a run that are pages somebody else serves, in the order they were given.
Beside isRemoteQUnitPage rather than beside the run that calls it: this is the same
question asked of a whole config, and recognising a page is one subject that should live in one
place. What to DO about them — announce, drive, summarise — is the run's, in
lib/commands/test/remote-pages.ts.
import type { filterRemotePagesFromConfig } from './remote-page.ts'; import type { Config } from '../types.ts'; // Defined, not invoked: it asks each remote input what it answers with. async function example(find: typeof filterRemotePagesFromConfig, config: Config) { return await find(config); // ['https://objectmodel.js.org/test/'] }
config: Config