Permalink
Browse files

added browser tests

  • Loading branch information...
1 parent d033739 commit 2d75d5af06c6aca07e7865e0d06bbabd169b4975 @caolan caolan committed Nov 21, 2010
Showing with 29 additions and 0 deletions.
  1. +11 −0 deps/nodeunit.min.js
  2. +18 −0 test/test.html
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
View
@@ -0,0 +1,18 @@
+<html>
+ <head>
+ <title>Async.js tests</title>
+ <script src="../lib/async.js"></script>
+ <script src="../deps/nodeunit.min.js"></script>
+ <script>
+ this.require = function () { return async; }
+ this.exports = {};
+ </script>
+ <script src="test-async.js"></script>
+ </head>
+ <body>
+ <script>
+ console.log(exports);
+ nodeunit.run({'test-async': exports});
+ </script>
+ </body>
+</html>

0 comments on commit 2d75d5a

Please sign in to comment.