async function fire(elem, event, details) {
	await act(() => {
		let evt = new window.Event(event, details);
		elem.dispatchEvent(evt);
	});
}
@param {HTMLElement} elem
@param {String} event
@param {any} [details]