Stubs for Meteor unit testing

Hi everyone,

With the release of Meteor 1.3 and its built-in unit-testing support, I wanted to let people know about the meteor-stubs npm package which you may hopefully find useful.

It’s mentioned in the Meteor 1.3 Guide’s section on Testing but I figured announcing it here on the forums would also help raise visibility.

A word of caution, it probably needs some updating to have all the latest Meteor stubs… PRs welcome! https://github.com/meteor-velocity/meteor-stubs

Here’s a list of stubs as of March 28, 2016 (from the index.js file):

        // Table of Contents:
        //
        //   MS00 - MeteorStubs
        //   MS01 - Common prototypes
        //          Collection, Cursor, ObjectId
        //   MS05 - Meteor
        //     MS05-1 - Meteor.Collection
        //     MS05-2 - Meteor.Collection.ObjectID
        //     MS05-3 - Meteor.users
        //   MS06 - Check
        //   MS10 - Npm
        //   MS15 - Tracker
        //   MS20 - Package
        //   MS25 - Random
        //   MS30 - Session
        //   MS35 - Templates
        //   MS40 - Handlebars
        //   MS45 - Accounts
        //   MS48 - ServiceConfiguration
        //   MS50 - __meteor_bootstrap__
        //   MS55 - share
        //   MS60 - Mongo
        //   MS62 - HTTP
        //   MS63 - Email
        //   MS65 - Assets        
        //   MS70 - Cordova
2 Likes