From cd4f4fef1bfd4210ca1708db508016fea6c21791 Mon Sep 17 00:00:00 2001 From: Benjamin Pannell Date: Wed, 20 Jul 2016 00:04:25 +0200 Subject: [PATCH] fix: Correctly execute tests --- circle.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/circle.yml b/circle.yml index 3981df8..ddd6ef1 100644 --- a/circle.yml +++ b/circle.yml @@ -20,12 +20,13 @@ dependencies: - sudo apt-get install -y mongodb-org - sudo service mongod restart - npm install --progress=false + - npm install mocha-junit-reporter --progress=false test: pre: - mongo --version - mongo --eval 'db.hostInfo()' override: - - mocha test --reporter mocha-junit-reporter --opts test/mocha.opts dist/test: + - npm run test -- --reporter mocha-junit-reporter: environment: MOCHA_FILE: $CIRCLE_TEST_REPORTS/junit/test-results.xml \ No newline at end of file