Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Testing with reactive-publish package #19

Closed
tpasque opened this issue Jul 22, 2016 · 3 comments
Closed

Testing with reactive-publish package #19

tpasque opened this issue Jul 22, 2016 · 3 comments
Labels

Comments

@tpasque
Copy link

tpasque commented Jul 22, 2016

What is the best way to do publication testing with Meteor 1.3?

We are working with a publication test based on the Meteor docs, and they recommend using PublicationCollector, but it isn't working for us. Here is the error in my terminal:

Exception in queued task: TypeError: Cannot call method 'idStringify' of undefined
at PublicationCollector.publish.added (packages/peerlibrary_reactive-publish/packages/peerlibrary_reactive-publish.js:283:1)
at added (packages/mongo/collection.js:346:11)
at packages/mongo/observe_multiplex.js:183:30
at Function..each..forEach (packages/underscore/underscore.js:108:1)
at Object.task (packages/mongo/observe_multiplex.js:177:9)
at [object Object]._.extend._run (packages/meteor/fiber_helpers.js:147:1)
at packages/meteor/fiber_helpers.js:125:1

Thank you

@mitar
Copy link
Member

mitar commented Jul 22, 2016

I use TinyTest for testing with this wrapper.

Not sure what that package is doing to break this package.

@mitar mitar added the question label Aug 1, 2016
@mitar mitar changed the title Testing with peerlibrary Testing with reactive-publish package Aug 1, 2016
@hexsprite
Copy link

I submitted a fix for this Meteor-Community-Packages/meteor-publication-collector#10

@mitar
Copy link
Member

mitar commented Oct 22, 2016

Fixed in the above pull request. Thanks!

@mitar mitar closed this as completed Oct 22, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants