mirror of
https://github.com/apache/cordova-android.git
synced 2026-04-23 00:00:09 +08:00
CB-14145 commit updated node_modules in 7.1.x only
(installed by npm@6.1.0)
This commit is contained in:
+21
@@ -0,0 +1,21 @@
|
||||
TESTS := \
|
||||
tests/test-simple.js
|
||||
|
||||
|
||||
|
||||
PATH := ./node_modules/.bin:$(PATH)
|
||||
|
||||
WHISKEY := $(shell bash -c 'PATH=$(PATH) type -p whiskey')
|
||||
|
||||
default: test
|
||||
|
||||
test:
|
||||
NODE_PATH=`pwd`/lib/ ${WHISKEY} --scope-leaks --sequential --real-time --tests "${TESTS}"
|
||||
|
||||
tap:
|
||||
NODE_PATH=`pwd`/lib/ ${WHISKEY} --test-reporter tap --sequential --real-time --tests "${TESTS}"
|
||||
|
||||
coverage:
|
||||
NODE_PATH=`pwd`/lib/ ${WHISKEY} --sequential --coverage --coverage-reporter html --coverage-dir coverage_html --tests "${TESTS}"
|
||||
|
||||
.PHONY: default test coverage tap scope
|
||||
Reference in New Issue
Block a user