Open main menu

Manual:$wgJavaScriptTestConfig

Other languages:
English • ‎español • ‎magyar • ‎polski • ‎português do Brasil • ‎日本語
Frontend: $wgJavaScriptTestConfig
Configuration for javascript testing.
Introduced in version:1.19.0
Removed in version:1.25.0 (Gerrit change 180116; git #0e9f24a1)
Allowed values:(array)
Default value:see below

Default valueEdit

$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,
	),
);

DetailsEdit

Configuration for javascript testing.