From 37eb5d666202c1b82e6d2bc02ee19aef48980d09 Mon Sep 17 00:00:00 2001 From: Chris Malley Date: Mon, 11 Dec 2017 10:31:25 -0700 Subject: [PATCH] remove unnecessary assert.expect, https://github.com/phetsims/aqua/issues/31 --- js/NumberPropertyTests.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/js/NumberPropertyTests.js b/js/NumberPropertyTests.js index 36e9b538..6193d23f 100644 --- a/js/NumberPropertyTests.js +++ b/js/NumberPropertyTests.js @@ -112,10 +112,6 @@ define( function( require ) { validValues: [ 0, 1, 2 ] }, 'should throw Assertion failed: validValues, isValidValue and range are mutually-exclusive options' ); } ); - - if ( !window.assert ) { - assert.expect( 5 ); // TODO: this is a hack to suppress the "expected 0 tests but 5 were run" error. - } } ); } ); \ No newline at end of file