<commit_before>var assert = require('assert');
var isArrayBuffer = require('./');

it('should return true if it is an ArrayBuffer', function () {
  assert(isArrayBuffer(new ArrayBuffer()));
});

it('should return false if it is not an ArrayBuffer', function () {
  assert(!isArrayBuffer(new Array()));<commit_msg>test: refactor in ES6<commit_after>const assert = require('assert');
const isArrayBuffer = require('./');

it('should return true if it is an ArrayBuffer', () => {
  assert(isArrayBuffer(new ArrayBuffer()));
});

it('should return false if it is not an ArrayBuffer', () => {
  assert(!isArrayBuffer([]));
{'fraction_non_alphanumeric': 0.16693679092382496, 'fraction_numerical': 0.0016207455429497568, 'mean_word_length': 5.943820224719101, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '991438', 'n_tokens_mistral': 169, 'n_tokens_neox': 172, 'n_words': 57}