thywill
Version:
A Node.js clustered framework for single page web applications based on asynchronous messaging.
33 lines (27 loc) • 913 B
JavaScript
/**
* @fileOverview
* Vows tests for the EJSTemplateEngine component.
*
* These are base tests without Express, Redis, or other frills.
*/
var clone = require('clone');
var tools = require('../lib/tools');
var baseConfig = require('../config/baseTestThywillConfig');
var config = clone(baseConfig);
config.templateEngine = {
implementation: {
type: 'core',
name: 'ejsTemplateEngine'
}
};
// Obtain a test suit that launches Thywill.
var suite = tools.headless.singleInstanceVowsSuite('Base: templateEngine/ejsTemplateEngine', {
config: config,
useRedisSocketStore: false,
useRedisSessionStore: false
});
tools.headless.addBatches(suite, 'ejsTemplateEngine', 'general');
//-----------------------------------------------------------
// Exports - Vows test suite
//-----------------------------------------------------------
module.exports.suite = suite;