lib/models/tgi-core-model-session.spec.js
function usersStarted(err, session) {
          if (err)
            self.badCount++;
          else
            self.goodCount++;

          if (self.badCount == 2 && self.goodCount == 2) {
            // Resume session1 correctly
            new Session().resumeSession(store, ip1, session1.get('passCode'), sessionResumed_Test1);
          }
        }
function usersStarted(err, session) {
          if (err)
            self.badCount++;
          else
            self.goodCount++;

          if (self.badCount == 2 && self.goodCount == 2) {
            // Resume session1 correctly
            new Session().resumeSession(store, ip1, session1.get('passCode'), sessionResumed_Test1);
          }
        }
function usersStarted ( err , session ) { if ( err ) self . badCount ++ ; else self . goodCount ++ ; if ( self . badCount == 2 && self . goodCount == 2 ) { // Resume session1 correctly new Session ( ) . resumeSession ( store , ip1 , session1 . get ( 'passCode' ) , sessionResumed_Test1 ) ; } }
callback after session started called
callback after session started called