deps: bump to barracks 8

This commit is contained in:
Yoshua Wuyts
2016-07-05 17:55:17 +02:00
parent dc1a2b25e1
commit 4ad3dc9b72
5 changed files with 10 additions and 8 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ test('freeze (default)', function (t) {
test('noFreeze', function (t) {
t.plan(2)
const app = choo({noFreeze: true})
const app = choo({freeze: false})
app.model({
state: {
+1 -1
View File
@@ -18,7 +18,7 @@ test('hooks', function (t) {
t.equal(caller, '/', 'onAction: caller name')
t.equal(typeof createSend, 'function', 'onAction: createSend fn')
},
onState: function (action, state, prev, createSend) {
onStateChange: function (action, state, prev, createSend) {
t.deepEqual(action, {foo: 'bar'}, 'onState: action data')
t.deepEqual(state.clicks, 1, 'onState: new state: 1 clicks')
t.deepEqual(prev.clicks, 0, 'onState: prev state: 0 clicks')