Skip to content
This repository was archived by the owner on Dec 10, 2019. It is now read-only.

Commit 2875322

Browse files
committed
Don't run the handlebars tests unless handlebars is installed.
1 parent 1d07ef8 commit 2875322

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/engine_handlebars_tests.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
(function () {
22
"use strict";
33

4+
// don't run these tests unless handlebars is installed
5+
try { var handlebars = require('handlebars'); }
6+
catch (err) { return; }
7+
48
var path = require('path');
59
var pa = require('../builder/pattern_assembler');
610
var object_factory = require('../builder/object_factory');

0 commit comments

Comments
 (0)