jenkins-bot has submitted this change and it was merged.
Change subject: Hygiene: Remove duplicate test
......................................................................
Hygiene: Remove duplicate test
test_modules is more complete
Change-Id: I5a36e670c5bb9ea9ab829e6b3694d35d682c35e6
---
D tests/qunit/test_application.js
1 file changed, 0 insertions(+), 27 deletions(-)
Approvals:
Kaldari: Looks good to me, approved
jenkins-bot: Verified
diff --git a/tests/qunit/test_application.js b/tests/qunit/test_application.js
deleted file mode 100644
index 22c6c13..0000000
--- a/tests/qunit/test_application.js
+++ /dev/null
@@ -1,27 +0,0 @@
-( function ( $, M ) {
- QUnit.module( 'MobileFrontend modules' );
-
- QUnit.test( 'define()', 1, function () {
- M.define( 'testModule1', 'test module 1' );
- QUnit.throws(
- function () {
- M.define( 'testModule1', 'again' );
- },
- /already exists/,
- 'throws an error when module already exists'
- );
- } );
-
- QUnit.test( 'require()', 2, function ( assert ) {
- QUnit.throws(
- function () {
- M.require( 'dummy' );
- },
- /not found/,
- 'throws an error when module doesn\'t exist'
- );
- M.define( 'testModule2', 'test module 2' );
- assert.strictEqual( M.require( 'testModule2' ), 'test module 2'
);
- } );
-
-}( jQuery, mw.mobileFrontend ) );
--
To view, visit https://gerrit.wikimedia.org/r/183982
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I5a36e670c5bb9ea9ab829e6b3694d35d682c35e6
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/MobileFrontend
Gerrit-Branch: master
Gerrit-Owner: Jdlrobson <[email protected]>
Gerrit-Reviewer: Kaldari <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits