<commit_before>'use strict';

const common = require('./common');
const Foo = common.models.Foo;
const Bar = common.models.Bar;
const TestBaz = common.models.TestBaz;
const TestBlah = common.models.TestBlah;
const sequelize = common.sequelize;
const DataTypes = sequelize.Sequelize;
const should = common.should;
const _ = require('lodash');
const stream = require('stream');
const es = require('ent-streams');
const P = sequelize.Sequelize.Promise;

describe.only('bulk upsert plugin', function () {

    describe('.bulkUpsertStream()', function () {

        it('should add the function to the prototype of Model', function () {
            Foo.should.respondTo('bulkUpsertStream');
        });

        it('should reject attempts to bulk upsert an undefined value', function () {
            return Foo.bulkUpsertStream().should.be.rejectedWith(Error);<commit_msg>removed .only<commit_after>'use strict';

const common = require('./common');
const Foo = common.models.Foo;
const Bar = common.models.Bar;
const TestBaz = common.models.TestBaz;
const TestBlah = common.models.TestBlah;
const sequelize = common.sequelize;
const DataTypes = sequelize.Sequelize;
const should = common.should;
const _ = require('lodash');
const stream = require('stream');
const es = require('ent-streams');
const P = sequelize.Sequelize.Promise;

describe('bulk upsert plugin', function () {

    describe('.bulkUpsertStream()', function () {

        it('should add the function to the prototype of Model', function () {
            Foo.should.respondTo('bulkUpsertStream');
        });

        it('should reject attempts to bulk upsert an undefined value', function () {
            return Foo.bulkUpsertStream().should.be.rejectedWith(Error);
{'fraction_non_alphanumeric': 0.1307113938692886, 'fraction_numerical': 0.0, 'mean_word_length': 4.118343195266272, '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': '111109', 'n_tokens_mistral': 511, 'n_tokens_neox': 493, 'n_words': 132}