Skip to content

Commit

Permalink
Fixed test?
Browse files Browse the repository at this point in the history
  • Loading branch information
KoenLav committed Feb 26, 2024
1 parent 19a03fa commit 9f3845d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions testing/collection_hooks.server.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { assert } from 'chai';
import { _ } from 'meteor/underscore';
import { SubscriptionInitialization } from 'meteor/cultofcoders:redis-oplog';
import helperGenerator from './lib/helpers';

describe('It should work with collection:hooks', function () {

Expand Down Expand Up @@ -64,7 +63,9 @@ describe('It should work with collection:hooks', function () {

const handle = Collection.find({
someData: true,
}).observeChanges();
}).observeChanges({
added: function() {}
});

assert.isTrue(subscriptionInitialized, 'Subscription initialized');

Expand Down

0 comments on commit 9f3845d

Please sign in to comment.