Files
stf-DeviceFarmer/res/app/components/stf/image-onload/image-onload-spec.js
2014-05-27 12:23:47 +09:00

23 lines
558 B
JavaScript

describe('imageOnload', function () {
beforeEach(module('stf.image-onload'));
var scope, compile;
beforeEach(inject(function ($rootScope, $compile) {
scope = $rootScope.$new();
compile = $compile;
}));
it('should ...', function () {
/*
To test your directive, you need to create some html that would use your directive,
send that through compile() then compare the results.
var element = compile('<div image-onload name="name">hi</div>')(scope);
expect(element.text()).toBe('hello, world');
*/
});
});