<commit_before>jest.dontMock('../api')
  .dontMock('immutable');

describe('dispather', function(){
  var api = require('../api');
  var client = require('../client');
  it('return', function(){
    var gist = api('gists')('gistid')();
    expect(client).toBeCalledWith({path:'/gists/gistid',method:'GET'});
    gist = api('users')('jcouyang')('gists')();
    expect(client).toBeCalledWith({path:'/users/jcouyang/gists',method:'GET'});
  });
});







<commit_msg>fix test<commit_after>jest.dontMock('../api')
  .dontMock('immutable');

describe('dispather', function(){
  var api = require('../api');
  var client = require('../client');
  it('return', function(){
    var gist = api('gists')('gistid')();
    expect(client).toBeCalledWith({path:'/gists/gistid.json',method:'GET'});
    gist = api('users')('jcouyang')('gists')();
    expect(client).toBeCalledWith({path:'/users/jcouyang/gists.json',method:'GET'});
  });
});








{'fraction_non_alphanumeric': 0.2545454545454545, 'fraction_numerical': 0.0, 'mean_word_length': 4.924050632911392, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3369626', 'n_tokens_mistral': 344, 'n_tokens_neox': 328, 'n_words': 39}