From 32ad89bff63ce642be1c7a9d7bbe5a75496a909d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=B3bert=20Oroszi?= Date: Wed, 19 Apr 2017 08:50:31 +0200 Subject: [PATCH 1/2] chore: added appveyor.yml --- appveyor.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 appveyor.yml diff --git a/appveyor.yml b/appveyor.yml new file mode 100644 index 0000000..5cf1f0e --- /dev/null +++ b/appveyor.yml @@ -0,0 +1,21 @@ +# Test against the latest version of this Node.js version +environment: + nodejs_version: "6" + +# Install scripts. (runs after repo cloning) +install: + # Get the latest stable version of Node.js or io.js + - ps: Install-Product node $env:nodejs_version + # install modules + - npm install + +# Post-install test scripts. +test_script: + # Output useful info for debugging. + - node --version + - npm --version + # run tests + - npm test + +# Don't actually build. +build: off From fbdb0c0e7e0869bd2019582f90f40401323c9d27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=B3bert=20Oroszi?= Date: Wed, 19 Apr 2017 08:54:44 +0200 Subject: [PATCH 2/2] chore: use doubleqoute for pattern --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 5d5aab4..2b384aa 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "scripts": { "lint": "eslint .", "pretest": "npm run lint", - "test": "mocha '*.spec.js'", + "test": "mocha \"*.spec.js\"", "test:watch": "npm test -- -w -b" }, "repository": {