Manual:$wgJavaScriptTestConfig

From MediaWiki.org
Jump to: navigation, search

Other languages:
Deutsch • ‎English • ‎español • ‎italiano • ‎日本語 • ‎polski • ‎português • ‎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
Other settings: Alphabetical | By function

Default value[edit]

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

Details[edit]

Configuration for javascript testing.