手册:$wgJavaScriptTestConfig

This page is a translated version of the page Manual:$wgJavaScriptTestConfig and the translation is 100% complete.
前端: $wgJavaScriptTestConfig
JavaScript测试的配置。
引进版本:1.19.0
移除版本:1.25.0 (Gerrit change 180116; git #0e9f24a1)
允许的值:(数组)
默认值:参见下方

默认值

$wgJavaScriptTestConfig = array(
	'qunit' => array(
		// Link used on [[Special:JavaScriptTest/qunit|Special:JavaScriptTest/qunit]]
		'documentation' => '//www.mediawiki.org/wiki/Manual:JavaScript_unit_testing',

		// If the testinit script detects a TestSwarm runner, this url will be loaded
		// to allow TestSwarm to install its hooks
		'testswarm-injectjs' => false,
	),
);

细节

JavaScript测试的配置。