mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CodeMirror
synced 2024-11-15 02:04:02 +00:00
d6c6dbd73a
Basic tests to show that the highlighting classes have been attached to the expected elements. TODO in later patches: * tests for the wikitext 2017 editor Bug: T270240 Change-Id: I01ebd9881d38dd877f19ee3bb4fdcbb74d43afaf
15 lines
265 B
JavaScript
15 lines
265 B
JavaScript
'use strict';
|
|
|
|
// Temporary, can be removed along with the feature flag.
|
|
|
|
class HighlightingFeatureFlag {
|
|
enable() {
|
|
browser.setCookies( {
|
|
name: 'mw-codemirror-bracket-matching-test',
|
|
value: '1'
|
|
} );
|
|
}
|
|
}
|
|
|
|
module.exports = new HighlightingFeatureFlag();
|