| 1 |
<!DOCTYPE HTML> |
| 2 |
<html lang="en-us"> |
| 3 |
<head> |
| 4 |
<title>Sink Tests Template</title> |
| 5 |
<meta http-equiv="Content-type" content="text/html; charset=utf-8"> |
| 6 |
<link rel="stylesheet" href="sink.css" type="text/css"> |
| 7 |
<script src="sink.js"></script> |
| 8 |
</head> |
| 9 |
<body> |
| 10 |
<h1>Sink Tests</h1> |
| 11 |
<ol id="tests"></ol> |
| 12 |
|
| 13 |
<script> |
| 14 |
sink('module name', function(test, ok, before, after) { |
| 15 |
test('should pass', 1, function() { |
| 16 |
ok(true, 'make a note') |
| 17 |
}) |
| 18 |
test('should not pass', 1, function() { |
| 19 |
ok(false, 'make another note') |
| 20 |
}) |
| 21 |
}) |
| 22 |
start() |
| 23 |
</script> |
| 24 |
|
| 25 |
</body> |
| 26 |
</html> |