From 9ee26dde5d7015d9c0e2ff87314cabeac5247c02 Mon Sep 17 00:00:00 2001 From: mde Date: Fri, 12 Apr 2024 08:07:01 -0700 Subject: [PATCH] Mocha TDD --- jakefile.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/jakefile.js b/jakefile.js index 7f601051..0d6b6abb 100644 --- a/jakefile.js +++ b/jakefile.js @@ -64,7 +64,7 @@ task('docPublish', ['doc'], function () { desc('Runs the EJS test suite'); task('test', ['lint'], function () { - exec(path.join('./node_modules/.bin/mocha')); + exec(path.join('./node_modules/.bin/mocha --u tdd')); }); publishTask('ejs', ['build'], function () { diff --git a/package.json b/package.json index a02fc089..f18bb94a 100644 --- a/package.json +++ b/package.json @@ -37,6 +37,6 @@ "node": ">=0.10.0" }, "scripts": { - "test": "mocha -u tdd" + "test": "npx jake test" } }