Skip to content

Commit cb2e3d0

Browse files
vikaspotluri123acburdine
authored andcommitted
chore(ui renderer tests): update to support new ora dependency
Ora has always expected a stream, but it wasn't necessary to provide one during tests since the stream dependency was never used. Now that Ora has proper support for smaller consoles, the stream needs to be (at the very least) an Object.
1 parent 3d619c1 commit cb2e3d0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/unit/ui/renderer-spec.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,9 @@ describe('Unit: UI > Renderer', function () {
5858
it('subscribes to events', function (done) {
5959
const ctx = {
6060
subscribeToEvents: sinon.stub(),
61-
ui: {},
61+
ui: {
62+
stdout: {}
63+
},
6264
options: {},
6365
frame: sinon.stub()
6466
};

0 commit comments

Comments
 (0)