include HTML test

This commit is contained in:
guybedford
2014-02-11 17:06:33 +02:00
parent 516a097b18
commit e5408be843
4 changed files with 16 additions and 3 deletions
+10 -1
View File
@@ -1,3 +1,4 @@
var someHTML = require('./angular.html!text');
exports['load test'] = function(done) {
System.import('angular').then(function() {
@@ -7,8 +8,16 @@ exports['load test'] = function(done) {
exports['another test'] = function(done) {
System.import('angular').then(function(angular) {
document.querySelector("#sandbox").innerHTML = someHTML;
if (!angular)
throw 'Test failed...';
done();
setTimeout(done, 1000);
});
}
exports['last test'] = function(done) {
done();
}