Skip to content

Commit

Permalink
Fix unit test, see #264
Browse files Browse the repository at this point in the history
  • Loading branch information
samreid committed Sep 13, 2019
1 parent 33658ad commit 14114d4
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions js/ObservableArrayTests.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,7 @@ define( function( require ) {

array.removeItemAddedListener( dChecker );
array.reset();
assert.equal( array.get( 0 ), 'a' );
assert.equal( array.get( 1 ), 'b' );
assert.equal( array.get( 2 ), 'c' );
assert.equal( array.length, 3 );
assert.equal( array.length, 0 );

// From https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/splice
var myFish = [ 'angel', 'clown', 'mandarin', 'surgeon' ];
Expand Down

0 comments on commit 14114d4

Please sign in to comment.