Fix failing tests

A beforeEach was setting up a fake test, and it didn't include the
`emit` method expected by `stack.js`.
This commit is contained in:
Jesse Gibson
2016-03-29 20:55:25 -06:00
parent 6cb737ebcc
commit 5cf1290190

View File

@@ -6,7 +6,8 @@ var stack = require('../../src/framework/stack');
describe('The stack', function () {
var obj = {
on: function noop() {}
on: function noop() {},
emit: function () {}
};
describe('push method', function () {