<commit_before>"use strict";

var querystring = require('querystring');
var https = require('https');
var nodemailer = require('nodemailer');
var _ = require('underscore');
var path = require('path');
var mime = require('mime');

var Email = require('./email');

var SMTP = "SMTP";
if (process.env.NODE_ENV == "test") {
  //SMTP = "STUB";
}
/*
 * Class for handling communications with SendGrid.
 *
 * @param  {String}  api_user  The SendGrid username.
 * @param  {String}  api_key   The key credentials for SendGrid.
 */
function SendGrid(api_user, api_key) {
  this.api_user     = api_user;
  this.api_key      = api_key;
}
<commit_msg>Use stub for integration tests<commit_after>"use strict";

var querystring = require('querystring');
var https = require('https');
var nodemailer = require('nodemailer');
var _ = require('underscore');
var path = require('path');
var mime = require('mime');

var Email = require('./email');

var SMTP = "SMTP";
if (process.env.NODE_ENV == "test") {
  SMTP = "STUB";
}
/*
 * Class for handling communications with SendGrid.
 *
 * @param  {String}  api_user  The SendGrid username.
 * @param  {String}  api_key   The key credentials for SendGrid.
 */
function SendGrid(api_user, api_key) {
  this.api_user     = api_user;
  this.api_key      = api_key;
}

{'fraction_non_alphanumeric': 0.15027110766847404, 'fraction_numerical': 0.0, 'mean_word_length': 4.188755020080321, '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': '4390865', 'n_tokens_mistral': 434, 'n_tokens_neox': 425, 'n_words': 118}