diff --git a/packages/behavior/item/actions.spec.js b/packages/behavior/item/actions.spec.js index a3aa7a8..a90ee4c 100644 --- a/packages/behavior/item/actions.spec.js +++ b/packages/behavior/item/actions.spec.js @@ -24,9 +24,7 @@ describe('behavior', () => { buildTraversal(['test2']), ], }); - actions.on('actionsFinished', () => { - done(); - }) + actions.on('actionsFinished', done); actions.tick(context, 0); expect(actions.index).to.equal(0); });