Skip to content

Instantly share code, notes, and snippets.

@flurner
Created January 14, 2013 20:48
Show Gist options
  • Select an option

  • Save flurner/4533287 to your computer and use it in GitHub Desktop.

Select an option

Save flurner/4533287 to your computer and use it in GitHub Desktop.
Mocha setup
TESTS = $(shell find test -name "*.js")
test:
@NODE_ENV=test mocha \
$(TESTS)
.PHONY: test
--ui tdd
--reporter spec
--timeout 250
--growl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment