1 // Return true to ignore
2 var mwTestIgnore = function( val
, tester
, funcPath
) {
4 // Don't record methods of the properties of constructors,
5 // to avoid getting into a loop (prototype.constructor.prototype..).
6 // Since we're therefor skipping any injection for
7 // "new mw.Foo()", manually set it to true here.
8 if ( val
instanceof mw
.Map
) {
9 tester
.methodCallTracker
['Map'] = true;
12 if ( val
instanceof mw
.Title
) {
13 tester
.methodCallTracker
['Title'] = true;
17 // Don't record methods of the properties of a jQuery object
18 if ( val
instanceof $ ) {
25 var mwTester
= new CompletenessTest( mw
, mwTestIgnore
);