<commit_before>var request = require('supertest');
var mocker = require('../index');

describe('gulp-apimocker', function () {
  it('start', function () {
  	var options = {
      config: './test.conf.json',
      mockDirectory: './test/mocks'
  	}
    mocker.start(options);

	request('http://localhost:8080')
	      .get('/test')
	      .expect(/test response/)
	      .expect(200)
	      .end(function(err, res){
    		if (err) throw err;
  		  });
	});
});<commit_msg>fix ut<commit_after>var request = require('supertest');
var mocker = require('../index');

describe('gulp-apimocker', function () {
  it('start', function () {
  	var options = {
      config: 'test/test.conf.json',
      mockDirectory: 'test/mocks'
  	}
    mocker.start(options);

	request('http://localhost:8080')
	      .get('/test')
	      .expect(/test response/)
	      .expect(200)
	      .end(function(err, res){
    		if (err) throw err;
  		  });
	});
});
{'fraction_non_alphanumeric': 0.19722814498933902, 'fraction_numerical': 0.014925373134328358, 'mean_word_length': 2.6823529411764704, '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': '7096812', 'n_tokens_mistral': 338, 'n_tokens_neox': 313, 'n_words': 57}