<commit_before>define(["underscore", "backbone", "jquery", "definition-view", "regs-data", 'samplejson'], function(_, Backbone, $, DefinitionView, RegsData, testjson) {
  describe("Definitions views", function() {
    RegsData.parse(testjson);

    $('body')
        .append('<div id="2345-6-a">sdfsd</div>')
        .append('<a id="2345-4">sdfds</a>');

    var view = new DefinitionView({
        id: '2345-6-a',
        $anchor: $('#2345-4')
    });

    it("should have the view instance", function() {
        expect(view).toBeTruthy();
    });

    it("should store the definition content", function() {
        expect(view.model.content).toEqual("this is where we'd load the api response for 2345-6-a in json format.");
    });

    it("should store the parent link", function() {
        expect(view.model.$anchor).toEqual($('#2345-4'));
    });

    it("should tell the state obj that its open", function() {
        expect
    });
    
  });
});<commit_msg>removing trailing test thing<commit_after>define(["underscore", "backbone", "jquery", "definition-view", "regs-data", 'samplejson'], function(_, Backbone, $, DefinitionView, RegsData, testjson) {
  describe("Definitions views", function() {
    RegsData.parse(testjson);

    $('body')
        .append('<div id="2345-6-a">sdfsd</div>')
        .append('<a id="2345-4">sdfds</a>');

    var view = new DefinitionView({
        id: '2345-6-a',
        $anchor: $('#2345-4')
    });

    it("should have the view instance", function() {
        expect(view).toBeTruthy();
    });

    it("should store the definition content", function() {
        expect(view.model.content).toEqual("this is where we'd load the api response for 2345-6-a in json format.");
    });

    it("should store the parent link", function() {
        expect(view.model.$anchor).toEqual($('#2345-4'));
    });

    it("should tell the state obj that its open", function() {
    });
    
  });
});
{'fraction_non_alphanumeric': 0.19027921406411583, 'fraction_numerical': 0.031023784901758014, 'mean_word_length': 3.143468950749465, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, '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': '6197874', 'n_tokens_mistral': 636, 'n_tokens_neox': 595, 'n_words': 144}