<commit_before>'use strict';

/**
 * Dependencies
 */
var should = require('should');
var _ = require('lodash');
var path = require('path');
var koan = require('../../lib');

describe('Koan.js application', function() {
  it('should work with empty configuration', function(done) {
    var app = koan();
    app.should.be.ok;
    done();
  });

  it('should set the application options');
  it('should set the keys for signing cookies');
  it('should compose middleware stack');
  it('should set the routes properly');
  it('should provide a rendering engine for view scripts');
});
<commit_msg>More tests.<commit_after>'use strict';

/**
 * Dependencies
 */
var should = require('should');
var _ = require('lodash');
var path = require('path');
var koan = require('../../lib');

describe('Koan.js application', function() {
  it('should work with empty configuration', function(done) {
    var app = koan();
    app.should.be.ok;
    done();
  });

  it('should set the application options', function(done) {
    var app = koan({
      options: {
        foo: 'bar'
      }
    });
    app.options.foo.should.be.eql('bar');
    done();
  });

  it('should set the keys for signing cookies', function(done) {
    var app = koan({
      options: {
        cookies: {
          keys: 'sign with this'
        }
      }
    });
    app.keys.should.be.ok;
    done();
  });

  it('should compose middleware stack');
  it('should set the routes properly');
  it('should provide a rendering engine for view scripts');
});

{'fraction_non_alphanumeric': 0.1695250659630607, 'fraction_numerical': 0.0, 'mean_word_length': 3.111111111111111, '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': '4403473', 'n_tokens_mistral': 463, 'n_tokens_neox': 449, 'n_words': 136}