Unit Tests Set up your tests with the Package.onTest handler, which has an interface that's parallel to that of
Client Meteor.disconnect() import { Meteor } from 'meteor/meteor'
Client Session.get(key) import { Session } from 'meteor/session'
Client new ReactiveVar(initialValue, [equalsFunc]) import { ReactiveVar
package.js api.addAssets(filenames, architecture) Specify
Client Tracker.flush() import { Tracker } from 'meteor/tracker'
Client Blaze.remove(renderedView) import { Blaze } from 'meteor/blaze'
Server this.unblock()
Client Accounts.onEmailVerificationLink import { Accounts } from
Server Npm.require(name) Require a package that was specified using
Page 10 of 28