Skip to content

Commit

Permalink
added browser tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Caolan McMahon committed Nov 21, 2010
1 parent d033739 commit 2d75d5a
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
11 changes: 11 additions & 0 deletions deps/nodeunit.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 18 additions & 0 deletions test/test.html
@@ -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.