Clean up test.

This commit is contained in:
Karishma Chadha 2018-08-21 15:23:14 -04:00
parent e0a1f464ce
commit a8c56948cb

View file

@ -213,8 +213,7 @@ test('deleteSound', t => {
const firstDeleted = a.deleteSound(0);
t.deepEqual(a.sprite.sounds, [o2, o3]);
t.type(firstDeleted, 'object');
t.equals(firstDeleted.id, 1);
t.deepEqual(firstDeleted, o1);
// Allows deleting the only sound
a.sprite.sounds = [o1];