Skip to content

Commit

Permalink
remove unnecessary assert.expect, phetsims/aqua#31
Browse files Browse the repository at this point in the history
  • Loading branch information
pixelzoom committed Dec 11, 2017
1 parent 569b6e0 commit 37eb5d6
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions js/NumberPropertyTests.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.
}
} );

} );

0 comments on commit 37eb5d6

Please sign in to comment.