Skip to content

Commit beb70a2

Browse files
author
pemrouz
committed
test: test for simplified changes
1 parent af266b3 commit beb70a2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@ describe('Custom Elements', function(){
423423
, result
424424

425425
once(container)('component-28[data="foo"]', 1)
426-
ripple('component-28', function(){ result = this.change })
426+
ripple('component-28', function(){ result = this.changes })
427427
ripple('foo', [{ bar: 5 }, { baz: 10 }])
428428

429429
time(50, function(){
@@ -434,8 +434,8 @@ describe('Custom Elements', function(){
434434

435435
time(100, function(){
436436
expect(result).to.eql([
437-
['foo', { type: 'update', key: 'bar', value: 15, time: 1}]
438-
, ['foo', { type: 'update', key: 'baz', value: 25, time: 2}]
437+
{ type: 'update', key: 'bar', value: 15, time: 1}
438+
, { type: 'update', key: 'baz', value: 25, time: 2}
439439
])
440440
done()
441441
})

0 commit comments

Comments
 (0)