summaryrefslogtreecommitdiffstats
path: root/lib/templating/__tests__/conrefsLoader.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/templating/__tests__/conrefsLoader.js')
-rw-r--r--lib/templating/__tests__/conrefsLoader.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/templating/__tests__/conrefsLoader.js b/lib/templating/__tests__/conrefsLoader.js
index bcbee05..196b513 100644
--- a/lib/templating/__tests__/conrefsLoader.js
+++ b/lib/templating/__tests__/conrefsLoader.js
@@ -75,6 +75,12 @@ describe('ConrefsLoader', function() {
describe('transform', function() {
function transform(filePath, source) {
+ expect(filePath).toBeA('string');
+ expect(source).toBeA('string');
+
+ expect(filePath).toBe(path.resolve(__dirname, 'include.md'));
+ expect(source).toBe('Hello World');
+
return 'test-' + source + '-endtest';
}
var engine = TemplateEngine({