code: function () {                                                                                  // 1023
      var self = this;                                                                                              // 1024
      _.each(_.clone(self._subscriptions), function (sub, id) {                                                     // 1025
        // Avoid killing the autoupdate subscription so that developers                                             // 1026
        // still get hot code pushes when writing tests.                                                            // 1027
        //                                                                                                          // 1028
        // XXX it's a hack to encode knowledge about autoupdate here,                                               // 1029
        // but it doesn't seem worth it yet to have a special API for                                               // 1030
        // subscriptions to preserve after unit tests.                                                              // 1031
        if (sub.name !== 'meteor_autoupdate_clientVersions') {                                                      // 1032
          self._subscriptions[id].stop();                                                                           // 1033
        }                                                                                                           // 1034
      });                                                                                                           // 1035
    }
docs: 1019 1020 This is very much a private function we use to make the tests                                                // 1021 take up fewer server resources after they complete.                                                          // 1022