include HTML test
This commit is contained in:
Vendored
+10
-1
@@ -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();
|
||||
}
|
||||
Reference in New Issue
Block a user