dist/tgi-store-json-file.spec.js
function getTomHanks() {
      try {
        storeBeingTested.getList(test.list, {name: "Tom Hanks"}, function (list, error) {
          if (typeof error != 'undefined') {
            callback(error);
            return;
          }
          test.shouldBeTrue(list._items.length == 1, ('1 not ' + list._items.length));
          getD();
        });
      }
      catch (err) {
        callback(err);
      }
    }
function getTomHanks() {
      try {
        storeBeingTested.getList(test.list, {name: "Tom Hanks"}, function (list, error) {
          if (typeof error != 'undefined') {
            callback(error);
            return;
          }
          test.shouldBeTrue(list._items.length == 1, ('1 not ' + list._items.length));
          getD();
        });
      }
      catch (err) {
        callback(err);
      }
    }
function getTomHanks ( ) { try { storeBeingTested . getList ( test . list , { name : "Tom Hanks" } , function ( list , error ) { if ( typeof error != 'undefined' ) { callback ( error ) ; return ; } test . shouldBeTrue ( list . _items . length == 1 , ( '1 not ' + list . _items . length ) ) ; getD ( ) ; } ) ; } catch ( err ) { callback ( err ) ; } }
only one Tom Hanks
only one Tom Hanks