nl_tokens: ////////////////////////////////////////////////////////////////////////// Psuedo - private methods ///////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// MinorTest . _startServer () - > Object
pl_tokens: function ( ) { var self = this ; if ( typeof this . Server !== 'function' ) { throw new Error ( 'You must specify a MinorJS HTTP server' ) ; } this . httpServer = new this . Server ( ) ; return this . httpServer . initialize ( this . _getBasePath ( ) , this . port ) . then ( function ( ) { return self . httpServer . listen ( ) ; } ) . then ( function ( ) { self . <mask> = true ; process . send ( { type : 'readyForTests' } ) ; } ) ; }