Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
26 lines (20 sloc) 692 Bytes
#TESTS += api/test/radar.test.js
TESTS += core/test/presence_monitor.test.js
TESTS += core/test/resources/message_list.test.js
TESTS += core/test/resources/presence.test.js
TESTS += core/test/resources/status.test.js
TESTS += server/test/client.chat.test.js
TESTS += server/test/client.presence.test.js
TESTS += server/test/client.reconnect.test.js
TESTS += server/test/client.test.js
TESTS += server/test/client.watch.test.js
TESTS_ALL = $(find . -type f -name '*.test.js' | grep -v 'node_modules' | sort)
REPORTER = spec
test:
@export radar_log=-* && sudo -E ./node_modules/.bin/mocha \
--ui exports \
--reporter $(REPORTER) \
--slow 2000ms \
--bail \
$(TESTS)
.PHONY: test