NODETESTS ?= test/*.js test/node/*.js BROWSERTESTS ?= test/*.js test/client/*.js REPORTER = spec test: @if [ "x$(BROWSER)" = "x" ]; then make test-node; else make test-browser; fi test-node: @NODE_ENV=test ./node_modules/.bin/mocha \ --require should \ --trace-warnings \ --throw-deprecation \ --reporter $(REPORTER) \ --timeout 5000 \ $(NODETESTS) test-node-http2: @NODE_ENV=test HTTP2_TEST=1 node ./node_modules/.bin/mocha \ --require should \ --trace-warnings \ --throw-deprecation \ --reporter $(REPORTER) \ --timeout 5000 \ $(NODETESTS) test-cov: lib-cov SUPERAGENT_COV=1 $(MAKE) test REPORTER=html-cov > coverage.html test-browser: SAUCE_APPIUM_VERSION=1.7 ./node_modules/.bin/zuul -- $(BROWSERTESTS) test-browser-local: ./node_modules/.bin/zuul --no-coverage --local 4000 -- $(BROWSERTESTS) lib-cov: jscoverage lib lib-cov test-server: @node test/server docs: index.html test-docs docs/index.md index.html: docs/index.md docs/head.html docs/tail.html marked < $< \ | cat docs/head.html - docs/tail.html \ > $@ docclean: rm -f index.html docs/test.html test-docs: docs/head.html docs/tail.html make test REPORTER=doc \ | cat docs/head.html - docs/tail.html \ > docs/test.html clean: rm -fr components .PHONY: test-cov test docs test-docs clean test-browser-local
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
dist | Folder | 0755 |
|
|
docs | Folder | 0755 |
|
|
lib | Folder | 0755 |
|
|
.browserslistrc | File | 54 B | 0644 |
|
.dist.babelrc | File | 162 B | 0644 |
|
.dist.eslintrc | File | 707 B | 0644 |
|
.editorconfig | File | 147 B | 0644 |
|
.gitattributes | File | 12 B | 0644 |
|
.lib.babelrc | File | 187 B | 0644 |
|
.lib.eslintrc | File | 554 B | 0644 |
|
.remarkignore | File | 32 B | 0644 |
|
.zuul.yml | File | 324 B | 0644 |
|
CONTRIBUTING.md | File | 358 B | 0644 |
|
HISTORY.md | File | 24.38 KB | 0644 |
|
LICENSE | File | 1.08 KB | 0644 |
|
Makefile | File | 1.3 KB | 0644 |
|
README.md | File | 9.29 KB | 0644 |
|
index.html | File | 1.89 KB | 0644 |
|
package.json | File | 10.21 KB | 0644 |
|