1) schema "before each" hook for "should pass":
I20170831-16:25:22.476(2)? TypeError: _meteorHwillsonStubCollections2.default.add is not a function
I20170831-16:25:22.477(2)? at Hook.<anonymous> (server/apollo/stub.test.js:5:21)
I20170831-16:25:22.479(2)? at run (packages/practicalmeteor:mocha-core/server.js:34:29)
I20170831-16:25:22.486(2)?
I20170831-16:25:22.486(2)? 2) schema "after each" hook for "should pass":
I20170831-16:25:22.487(2)? TypeError: _meteorHwillsonStubCollections2.default.restore is not a function
I20170831-16:25:22.499(2)? at Hook.<anonymous> (server/apollo/stub.test.js:10:21)
I20170831-16:25:22.500(2)? at run (packages/practicalmeteor:mocha-core/server.js:34:29)
I get the following error :
My file :
Can anyone tell me what I'm doing wrong?