function runTest(packager, browser) {
	return new Promise((resolve, reject) => {
		/** @type TestInfo */
		const testInfo = {
			browser,
			packager,
			debugTests: DEBUG_TESTS,
			port: PORT
		};
		const env = { MONACO_TEST_INFO: JSON.stringify(testInfo), ...process.env };
		const proc = cp.spawn(
			'node',
			[
				path.join(REPO_ROOT, 'node_modules/mocha/bin/mocha'),
				'test/smoke/*.test.js',
				'--no-delay',
				'--headless',
				'--timeout',
				'20000'
			],
			{
				env,
				stdio: 'inherit'
			}
		);
		proc.on('error', reject);
		proc.on('exit', (code) => {
			if (code === 0) {
				resolve(undefined);
			} else {
				reject(code);
			}
		});
	});
}
@param {PackagerKind} packager
@param {BrowserKind} browser
@returns