<commit_before>var expect = require('chai').expect;
var gulp = require('gulp');
var File = require('vinyl');
var fs = require('fs');
var gutil = require('gulp-util');
var Jimp = require('jimp');

var plugin = require('../');

var resizeyBit = require('../resize.js');

describe('testing gulp-jimp-resize', function(){

	var testImage = new gutil.File({
			path: __dirname + './originals/IMG_1743.jpg',
			contents: fs.readFileSync( __dirname + '/originals/IMG_1743.jpg')
		});

	var testImage2 = new gutil.File({
		path: __dirname + './originals/zed.png',
		contents: fs.readFileSync( __dirname + '/originals/zed.png')
	})

	var endImages = [];

	describe('plugin bits', function() { //deals with the gulp plugin bits
		it('should return a stream', function(done) {
			var test = plugin({sizes: [{"suffix": "mad skillz"}]}); //bracket hell, lol<commit_msg>let's try and break it again<commit_after>var expect = require('chai').expect;
var gulp = require('gulp');
var File = require('vinyl');
var fs = require('fs');
var gutil = require('gulp-util');
var Jimp = require('jimp');

var plugin = require('../index.js');

var resizeyBit = require('../resize.js');

describe('testing gulp-jimp-resize', function(){

	var testImage = new gutil.File({
			path: __dirname + './originals/IMG_1743.jpg',
			contents: fs.readFileSync( __dirname + '/originals/IMG_1743.jpg')
		});

	var testImage2 = new gutil.File({
		path: __dirname + './originals/zed.png',
		contents: fs.readFileSync( __dirname + '/originals/zed.png')
	})

	var endImages = [];

	describe('plugin bits', function() { //deals with the gulp plugin bits
		it('should return a stream', function(done) {
			var test = plugin({sizes: [{"suffix": "mad skillz"}]}); //bracket hell, lol
{'fraction_non_alphanumeric': 0.1844380403458213, 'fraction_numerical': 0.01037463976945245, 'mean_word_length': 4.4420062695924765, 'pattern_counts': {'":': 2, '<': 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': '2792249', 'n_tokens_mistral': 621, 'n_tokens_neox': 571, 'n_words': 152}