Browse Source

Tests: Remove usage of Function.caller. (#23412)

Michael Herzog 3 years ago
parent
commit
a86857ba8d
1 changed files with 0 additions and 13 deletions
  1. 0 13
      test/unit/src/math/Interpolant.tests.js

+ 0 - 13
test/unit/src/math/Interpolant.tests.js

@@ -81,19 +81,6 @@ export default QUnit.module( 'Maths', () => {
 
 
 		Mock.calls = null;
 		Mock.calls = null;
 
 
-		Mock.captureCall = function ( args ) {
-
-			if ( Mock.calls !== null ) {
-
-				Mock.calls.push( {
-					func: Mock.captureCall.caller.name,
-					args: Array.prototype.slice.call( args )
-				} );
-
-			}
-
-		};
-
 		// Tests
 		// Tests
 
 
 		// INSTANCING
 		// INSTANCING