From 78c3cc63e169eeeec6f48034037367ce89aee58f Mon Sep 17 00:00:00 2001 From: Mike Gerwitz Date: Tue, 1 Mar 2016 00:48:36 -0500 Subject: add es6-promise shim It is expected that support for promises will be available in whatever environment liza is run. Here, we're adding a shim for the sake of testing in ancient environments. It's almost as if I'm stuck using an ancient environment somewhere...*cough* --- Makefile.am | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 8e8d673..ee3f93d 100644 --- a/Makefile.am +++ b/Makefile.am @@ -18,7 +18,8 @@ # along with this program. If not, see . ## -path_src = $(top_builddir)/src +path_src = $(top_builddir)/src +path_test = $(top_builddir)/test namespaces=$(shell find src -type d) nsindex=$(addsuffix /index.js, $(namespaces)) @@ -37,6 +38,6 @@ modindex: $(nsindex) test: check check: @PATH="$(PATH):$(CURDIR)/node_modules/mocha/bin" \ - mocha --recursive $(TESTARGS) + mocha --require $(path_test)/pre.js --recursive $(TESTARGS) FORCE: -- cgit v1.2.1