async function toNotThrow(actualFunction, expected) {
	let actual = undefined

	try {
		actual = await actualFunction()

		// do nothing and continue
		return
	} catch (error) {
		throw new AssertionError({
			message: 'Unexpected exception:',
			operator: 'doesNotThrow',
			stackStartFn: toThrow,
			actual,
			expected,
		})
	}
}
Tests that the actual function does not throw when it is called.