Project test configuration and updated README

Signed-off-by: Simon Bailey <simon@newtriks.com>
This commit is contained in:
Simon Bailey
2014-01-08 11:10:07 +00:00
parent b1562cd74c
commit fb2e98d63e
8 changed files with 268 additions and 34 deletions
+14
View File
@@ -0,0 +1,14 @@
'use strict';
describe('<%= classedName %>', function () {
var <%= classedName %>, component;
beforeEach(function () {
<%= classedName %> = require('../../../src/scripts/components/<%= classedName %>');
component = <%= classedName %>();
});
it('should create a new instance of <%= classedName %>', function () {
expect(component).toBeDefined();
});
});