Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

46 lines (38 sloc) 1.292 kb
<!doctype html>
<html>
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
<title>Faye test suite</title>
<script type="text/javascript" src="../node_modules/jsclass/min/loader.js"></script>
</head>
<body>
<script type="text/javascript">
if (typeof TestSwarm === 'undefined')
TestSwarm = {
submit: function(result) {
if (window.console) console.log(Faye.toJSON(result));
},
heartbeat: function() {}
}
JS.cacheBust = true
JS.Packages(function() { with(this) {
file('../build/browser/faye-browser-min.js').provides('Faye')
autoload(/.*Spec/, {from: './javascript'})
}})
JS.require('Faye', 'JS.Test', 'JS.Range', function() {
JS.Test.Unit.Assertions.include({
assertYield: function(expected) {
var testcase = this
return function(actual) { testcase.assertEqual(expected, actual) }
}
})
JS.require( 'FayeSpec',
'GrammarSpec',
'ChannelSpec',
'ClientSpec',
'TransportSpec',
JS.Test.method('autorun'))
})
</script>
</body>
</html>
Jump to Line
Something went wrong with that request. Please try again.