<commit_before>var expect = require('chai').expect;

var EditBookPageView = require("../../views/EditBookPageView.js");

describe('EditBookPageView', function() {

    var view;

    before(function() {
        view = new EditBookPageView({});
    });

    describe('verify objects', function () {

        it("should create a valid view object", function() {
            expect(view).to.be.an('object');
        });

    });

    describe.skip('get data for template', function () {

        it("should include status info", function() {
            expect(view).to.be.an('object');
        });

    });

});<commit_msg>Add form data tests (skipped)<commit_after>var expect = require('chai').expect;

var EditBookPageView = require("../../views/EditBookPageView.js");

describe('EditBookPageView', function() {

    var view;

    before(function() {
        view = new EditBookPageView({});
    });

    describe('verify objects', function () {

        it("should create a valid view object", function() {
            expect(view).to.be.an('object');
        });

    });

    describe.skip('get data for template', function () {

        it("should include status info", function() {
            expect(view).to.be.an('object');
        });

    });

    describe.skip('get data from form', function () {

        it("should include title", function() {
            expect(view).to.be.an('object');
        });

        it("should include isbn", function() {
            expect(view).to.be.an('object');
        });

        it("must include EITHER title OR isbn", function() {
            expect(view).to.be.an('object');
        });

    });

});
{'fraction_non_alphanumeric': 0.1761501210653753, 'fraction_numerical': 0.0, 'mean_word_length': 2.4012345679012346, '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': '6603643', 'n_tokens_mistral': 477, 'n_tokens_neox': 452, 'n_words': 99}