jenkins-bot has submitted this change and it was merged.
Change subject: Hygiene: Remove dead test
......................................................................
Hygiene: Remove dead test
Change-Id: I50ea4c79436cc4b2a2691709e1d473d51eb255a5
---
D tests/javascripts/actions/test_mf-edit.js
1 file changed, 0 insertions(+), 43 deletions(-)
Approvals:
JGonera: Looks good to me, approved
jenkins-bot: Verified
diff --git a/tests/javascripts/actions/test_mf-edit.js
b/tests/javascripts/actions/test_mf-edit.js
deleted file mode 100644
index 34701be..0000000
--- a/tests/javascripts/actions/test_mf-edit.js
+++ /dev/null
@@ -1,43 +0,0 @@
-( function ( $, m ) {
-
-QUnit.module( 'MobileFrontend: mf-edit', {
- setup: function() {
- $( '#editform, textarea.segment,#wpSummary' ).remove();
- $( '<form id="editform"><textarea></textarea></form>'
).appendTo( document.body );
- $( '<input id="wpSummary">' ).appendTo( document.body );
- },
- teardown: function() {
- $( '#editform, textarea.segment,#wpSummary' ).remove();
- }
-} );
-
-QUnit.test( 'concatTextAreas basic line', 1, function() {
- var val = 'Test';
- $( 'form#editform textarea' ).val( val );
- m.init();
- strictEqual( m.concatTextAreas(), val, 'check value same' );
-} );
-
-QUnit.test( 'concatTextAreas headings', 1, function() {
- var val = 'Test\n\n==Hello World==\nHello';
- $( 'form#editform textarea' ).val( val );
- m.init();
- strictEqual( m.concatTextAreas(), val, 'check value same' );
-} );
-
-QUnit.test( 'concatTextAreas headings 2', 1, function() {
- var val = 'Test\n\n==1.0==\nText of 1.0\n===1.1===\nText of
1.1\n==2.0==\nText of 2.0';
- $( 'form#editform textarea' ).val( val );
- m.init();
- strictEqual( m.concatTextAreas(), val, 'check value same' );
-} );
-
-QUnit.test( 'concatTextAreas headings 3', 1, function() {
- var val = 'Test\n\n==1.0==\n\nText of 1.0\n\n===1.1===\n\nText of
1.1\n==2.0==\nText of 2.0';
- $( 'form#editform textarea' ).val( val );
- m.init();
- strictEqual( m.concatTextAreas(), val, 'check value same' );
-} );
-
-
-} )( jQuery, mw.mobileFrontend.require( 'edit' ) );
--
To view, visit https://gerrit.wikimedia.org/r/74810
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I50ea4c79436cc4b2a2691709e1d473d51eb255a5
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/MobileFrontend
Gerrit-Branch: master
Gerrit-Owner: Jdlrobson <[email protected]>
Gerrit-Reviewer: JGonera <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits