From d11bd954e09d4067d264cd055688714303438f59 Mon Sep 17 00:00:00 2001 From: Rich Harris Date: Sat, 20 Jan 2018 18:34:30 -0500 Subject: [PATCH] seems tests weren't actually running in appveyor? (#98) well this was harder than it should have been --- appveyor.yml | 4 ++++ test/common/test.js | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/appveyor.yml b/appveyor.yml index 80f5ec2..966054b 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -15,3 +15,7 @@ environment: install: - ps: Install-Product node $env:nodejs_version - npm install + +test_script: + - node --version && npm --version + - npm test \ No newline at end of file diff --git a/test/common/test.js b/test/common/test.js index 250f596..cd56f9a 100644 --- a/test/common/test.js +++ b/test/common/test.js @@ -83,7 +83,7 @@ function run(env) { if (env === 'production') { const cli = path.resolve(__dirname, '../../cli/index.js'); - exec_promise = exec(`${cli} build`).then(() => exec(`${cli} export`)); + exec_promise = exec(`node ${cli} export`); } return exec_promise.then(() => {