Throws on missing check() for Meteor > 1.2.x when using Tinytest
See original GitHub issueSee above; you probably just missed an api.use(‘check’) in your package.js…
I20150930-16:44:06.355(2)? Exception while invoking method 'kadira.debug.getBrowserName' { stack: 'ReferenceError: check is not defined
at [object Object].Meteor.methods.kadira.debug.getBrowserName (packages/kadira_debug/packages/kadira_debug.js:265:1)
at [object Object].methodMap.(anonymous function) (packages/meteorhacks_kadira/packages/meteorhacks_kadira.js:2554:1)
at packages/check/match.js:109:1
at [object Object]._.extend.withValue (packages/meteor/dynamics_nodejs.js:56:1)
at Object.Match._failIfArgumentsAreNotAllChecked (packages/check/match.js:108:1)
at maybeAuditArgumentChecks (livedata_server.js:1689:18)
at livedata_server.js:708:19
at [object Object]._.extend.withValue (packages/meteor/dynamics_nodejs.js:56:1)
at livedata_server.js:706:40
at [object Object]._.extend.withValue (packages/meteor/dynamics_nodejs.js:56:1)',
I20150930-16:44:06.355(2)? source: 'method' }
I20150930-16:44:06.361(2)? Exception from sub kadira.debug.init id xbCqXCFvnYiKh9DjM { stack: 'ReferenceError: check is not defined
at [object Object]._handler (packages/kadira_debug/packages/kadira_debug.js:219:1)
at packages/check/match.js:109:1
at [object Object]._.extend.withValue (packages/meteor/dynamics_nodejs.js:56:1)
at Object.Match._failIfArgumentsAreNotAllChecked (packages/check/match.js:108:1)
at maybeAuditArgumentChecks (livedata_server.js:1689:18)
at [object Object]._.extend._runHandler (livedata_server.js:1023:17)
at [object Object].subscriptionProto._runHandler (packages/meteorhacks_kadira/packages/meteorhacks_kadira.js:2604:1)
at [object Object]._.extend._startSubscription (livedata_server.js:842:9)
at [object Object]._.extend.protocol_handlers.sub (livedata_server.js:614:12)
at packages/meteorhacks_kadira/packages/meteorhacks_kadira.js:2467:1',
I20150930-16:44:06.361(2)? source: 'subscription' }
Issue Analytics
- State:
- Created 8 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
Changelog | Meteor API Docs
TinyTest package without Future PR by matheusccastroo. ... Changes to keep everything compatible with MongoDB Server 5.x and MongoDB ... tinytest@1.2.1.
Read more >Meteor - API Manual
If the match fails, check throws a Match.Error describing how it failed. If this error gets sent over the wire to the client,...
Read more >Using tinytest
The purpose of unit testing is to check whether a function gives the output you expect, when it is provided with certain input....
Read more >meteor/README.md at devel - TinyTest - GitHub
Adding Tinytest to Your Package ... Tinytest is included through configuration in the package.js file using Package.onTest() . // Define test section Package....
Read more >Verify function throws specified exception - MATLAB
You can use any of the input argument combinations in the previous syntaxes. Input Arguments. expand all. testCase — Test case
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@nirarazi Check whether you are using the latest version. Sometimes, meteor installs a older version.
This happens to me with Meteor 1.2.1 and today’s package. Any solution?