diff --git a/tests/node-qunit/mobile.startup/CtaDrawer.test.js b/tests/node-qunit/mobile.startup/CtaDrawer.test.js new file mode 100644 index 000000000..caec52177 --- /dev/null +++ b/tests/node-qunit/mobile.startup/CtaDrawer.test.js @@ -0,0 +1,74 @@ +var + // Imports + CtaDrawer, + dom = require( '../utils/dom' ), + Drawer, + jQuery = require( '../utils/jQuery' ), + mw = require( '../utils/mw' ), + oo = require( '../utils/oo' ), + sandbox, + sinon = require( 'sinon' ), + + // Variables + parent; + +function stripWhitespaceHTML( str ) { + return str.replace( /\s+/g, ' ' ) + // strip spaces before opening tags + .replace( /

mobile-frontend-watchlist-cta-button-login
mobile-frontend-watchlist-cta-button-signup
' + ); + assert.ok( true ); +} );