mirror of
https://github.com/coder/code-server.git
synced 2024-12-05 07:13:06 +08:00
30 lines
588 B
HTML
30 lines
588 B
HTML
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>VSCode Tests</title>
|
|
<link href="https://cdn.rawgit.com/mochajs/mocha/2.2.5/mocha.css" rel="stylesheet" />
|
|
</head>
|
|
<body>
|
|
<div id="mocha"></div>
|
|
|
|
<script src="/out/vs/loader.js"></script>
|
|
<script src="https://cdn.rawgit.com/mochajs/mocha/2.2.5/mocha.js"></script>
|
|
|
|
<script>
|
|
mocha.setup('tdd');
|
|
|
|
require.config({
|
|
baseUrl: '/out',
|
|
paths: {
|
|
assert: '/test/unit/assert.js',
|
|
sinon: '/node_modules/sinon/pkg/sinon-1.17.7.js'
|
|
}
|
|
});
|
|
|
|
require({{ modules }}, function () {
|
|
mocha.run();
|
|
});
|
|
</script>
|
|
</body>
|
|
</html>
|