<commit_before>var assert = require("assert");
var vumigo = require("../../../lib");


var DummyIm = vumigo.test_utils.DummyIm;
var State = vumigo.states.State;


describe("State", function () {
    var im;

    beforeEach(function () {
        im = new DummyIm();
    });

    describe(".setup_state", function() {
        it("should link the interaction machine to the state", function() {
            var state = State('luke-the-state'); <commit_msg>Add missing `new` in State.setup_state() test<commit_after>var assert = require("assert");
var vumigo = require("../../../lib");


var DummyIm = vumigo.test_utils.DummyIm;
var State = vumigo.states.State;


describe("State", function () {
    var im;

    beforeEach(function () {
        im = new DummyIm();
    });

    describe(".setup_state", function() {
        it("should link the interaction machine to the state", function() {
            var state = new State('luke-the-state'); 
{'fraction_non_alphanumeric': 0.1624203821656051, 'fraction_numerical': 0.0, 'mean_word_length': 3.02991452991453, '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': '5094327', 'n_tokens_mistral': 291, 'n_tokens_neox': 280, 'n_words': 74}