diff --git a/resources/mode/mediawiki/tests/qunit/CodeMirror.mediawiki.test.js b/resources/mode/mediawiki/tests/qunit/CodeMirror.mediawiki.test.js index db389723..2e281732 100644 --- a/resources/mode/mediawiki/tests/qunit/CodeMirror.mediawiki.test.js +++ b/resources/mode/mediawiki/tests/qunit/CodeMirror.mediawiki.test.js @@ -47,7 +47,9 @@ { title: 'ref tag with cite web, extraneous curly braces', input: '{{cite web|2=foo}}}}', - output: '' + output: mw.loader.getState( 'ext.cite.styles' ) ? + '' : + '' }, { title: 'template with params and parser function',