angular test

This commit is contained in:
guybedford
2014-02-11 17:02:14 +02:00
parent fcd5a654ae
commit 516a097b18
3 changed files with 30 additions and 12 deletions
+13 -6
View File
@@ -1,7 +1,14 @@
suite('Angular', function() {
test('load', function(done) {
System.import('angular').then(function() {
done();
});
exports['load test'] = function(done) {
System.import('angular').then(function() {
done();
});
});
}
exports['another test'] = function(done) {
System.import('angular').then(function(angular) {
if (!angular)
throw 'Test failed...';
done();
});
}