Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigok committed Feb 11, 2019
1 parent b7d229b commit 2d0f5a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/rocketchat-ui/client/views/app/room.js
Original file line number Diff line number Diff line change
Expand Up @@ -970,7 +970,7 @@ Template.room.onCreated(function() {

const updateMessages = _.debounce(() => {
this.messages.set(ChatMessage.find(query, options).fetch());
}, 100);
}, process.env.TEST_MODE ? 0 : 100);

this.messageObserver = ChatMessage.find(query).observe({
added: updateMessages,
Expand Down

0 comments on commit 2d0f5a8

Please sign in to comment.