Permalink
Browse files

Add spyon to test/run.sh

  • Loading branch information...
1 parent d2330d9 commit d559765673dfa547dd86a7722aa63f5bd53204bd Bjorn Tipling committed May 11, 2012
Showing with 9 additions and 1 deletion.
  1. +1 −1 package.json
  2. +8 −0 test/run.sh
View
@@ -1,7 +1,7 @@
{
"name": "whiskey",
"description": "A simple test runner for NodeJS applications.",
- "version": "0.6.9",
+ "version": "0.6.10",
"author": "Cloudkick, Inc. <tomaz+npm@cloudkick.com> http://www.cloudkick.com",
"keywords": [ "whiskey", "tests", "test runner", "testing", "tdd", "coverage", "test coverage"],
"homepage": "https://github.com/cloudkick/whiskey",
View
@@ -260,6 +260,14 @@ if [ $? -ne 0 ]; then
exit 1
fi
+"${CWD}/bin/whiskey" --timeout 1000 \
+ --tests "${CWD}/example/test-spyon.js"
+
+if [ $? -ne 0 ]; then
+ echo "Test didn't exit with zero exit code."
+ exit 1
+fi
+
echo ""
echo "* * * Whiskey test suite PASSED. * * *"
exit 0

0 comments on commit d559765

Please sign in to comment.