Expected behavior
In the Readme, the before block in a functional suite should take a SuiteLifecycleFunction, which returns PromiseLike.
Current behavior
The readme shows the function passed to the before block returning Promise<Command, any>.
Possible solution
before(async ({ remote }) => {
	await remote
		.get('_dist/src/index.html')
		.setFindTimeout(5000)
		.findDisplayedByCssSelector('body.loaded');
});
/***** OR *****/
before(({ remote }) => {
	return remote
		.get('_dist/src/index.html')
		.setFindTimeout(5000)
		.findDisplayedByCssSelector('body.loaded')
		.end();
});
 
Steps to reproduce (for bugs)
no steps, just look in the readme. Typescript just complains about the wrong type being returned.
Environment
Example (e.g., dojo, backbone, etc.):
Intern version:
Node version:
NPM version:
Browser version:
Additional information