From 822c0a6cf0e2bbff665a5a0715ae391031e20fe4 Mon Sep 17 00:00:00 2001 From: Chris Barton Date: Thu, 27 Aug 2015 12:47:52 -0700 Subject: [PATCH] Fix test runner by specifying version of Mocha and building the right JS file to use in the tests --- Makefile | 6 +++--- test/index.html | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 432a1ccb0..48c446fd2 100644 --- a/Makefile +++ b/Makefile @@ -7,14 +7,14 @@ TESTS = $(wildcard test/*.test.js) test: test-phantomjs -test-phantomjs: build/recurly.min.js build/test.js +test-phantomjs: build build/test.js @$(T) phantomjs -test-browser: build/recurly.min.js build/test.js +test-browser: build build/test.js @$(T) browser test-sauce: BROWSER ?= ie:9 -test-sauce: build/recurly.min.js build/test.js +test-sauce: build build/test.js @$(T) saucelabs -b $(BROWSER) build: build/recurly.min.js diff --git a/test/index.html b/test/index.html index 4911ac971..4b15201a6 100644 --- a/test/index.html +++ b/test/index.html @@ -5,7 +5,7 @@ recurly-js - +