mirror of
https://github.com/documentationjs/documentation.git
synced 2026-01-18 14:17:30 +00:00
15 lines
306 B
JavaScript
15 lines
306 B
JavaScript
'use strict';
|
|
|
|
var getTemplate = require('../../lib/get_template.js'),
|
|
Handlebars = require('handlebars'),
|
|
test = require('tap').test;
|
|
|
|
test('getTemplate', function (t) {
|
|
|
|
t.throws(function () {
|
|
getTemplate(Handlebars, 'DOES_NOT_EXIST', 'foo');
|
|
}, 'Template file foo missing');
|
|
|
|
t.end();
|
|
});
|