registry test update
This commit is contained in:
+16
-8
@@ -1,5 +1,6 @@
|
||||
<!doctype html>
|
||||
<script src="jspm_packages/system@0.4.js"></script>
|
||||
<script src="../../es6-module-loader/dist/es6-module-loader.js"></script>
|
||||
<script src="../../systemjs/dist/system.js"></script>
|
||||
<script src="config.js"></script>
|
||||
|
||||
<body>
|
||||
@@ -8,8 +9,15 @@
|
||||
</body>
|
||||
|
||||
<script>
|
||||
System.import('mocha').then(function(mocha) {
|
||||
System.import('tests/tests').then(function(suites) {
|
||||
System.import('npm:voxel-demo').catch(function(e) {
|
||||
setTimeout(function() {
|
||||
throw e;
|
||||
});
|
||||
});
|
||||
|
||||
System.import('mocha').
|
||||
then(function(mocha) {
|
||||
return System.import('tests/tests').then(function(suites) {
|
||||
mocha.setup('tdd');
|
||||
for (var s in suites) {
|
||||
suite(s, function() {
|
||||
@@ -22,12 +30,12 @@
|
||||
});
|
||||
}
|
||||
mocha.run();
|
||||
})
|
||||
.catch(function(e) {
|
||||
setTimeout(function() {
|
||||
throw e;
|
||||
}, 1);
|
||||
});
|
||||
}).
|
||||
catch(function(e) {
|
||||
setTimeout(function() {
|
||||
throw e;
|
||||
}, 1);
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user