From 87a894b611e493c79c5304b61ce3645ac64a2fc5 Mon Sep 17 00:00:00 2001 From: doowb Date: Mon, 18 Sep 2017 16:33:00 -0400 Subject: [PATCH] add velocityjs tests --- History.md | 1 + package.json | 2 +- test/consolidate.js | 1 + test/fixtures/velocityjs/user.velocityjs | 1 + 4 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 test/fixtures/velocityjs/user.velocityjs diff --git a/History.md b/History.md index dba4269..90c5fe6 100644 --- a/History.md +++ b/History.md @@ -4,6 +4,7 @@ * add plates support * add teacup support * add liquid-node support + * add velocityjs support * allow absolute and relative partial paths * extend dot options * support layouts in vash diff --git a/package.json b/package.json index 1603e72..f61f8f7 100644 --- a/package.json +++ b/package.json @@ -65,7 +65,7 @@ "underscore": "^1.3.3", "vash": "^0.12.2", "walrus": "^0.10.1", - "whiskers": "^0.4.0" + "whiskers": "^0.4.0", "velocityjs": "^0.8.2" }, "keywords": [ diff --git a/test/consolidate.js b/test/consolidate.js index 5df0c2b..faaff8b 100644 --- a/test/consolidate.js +++ b/test/consolidate.js @@ -65,3 +65,4 @@ require('./shared/partials').test('arc-templates'); require('./shared').test('marko'); require('./shared').test('bracket'); require('./shared').test('teacup'); +require('./shared').test('velocityjs'); diff --git a/test/fixtures/velocityjs/user.velocityjs b/test/fixtures/velocityjs/user.velocityjs new file mode 100644 index 0000000..334ea79 --- /dev/null +++ b/test/fixtures/velocityjs/user.velocityjs @@ -0,0 +1 @@ +

$user.name