I have a simple package which expose some utility methods which in turn touch some collection docs, i would like to test these methods. But I could not get it pass the client test. Anyone could show me the way?
It’s like, my method will call
myCollection.update() (in /lib folder, which will have the default meteor client then server calls). Now i want to test this method in my package. But could not pass through the:
Not permitted. Untrusted code may only update documents by ID. 
I do have the
allow before my test case.