Files
stf-DeviceFarmer/res/app/components/stf/common-ui/focus-element/focus-element-spec.js
Gunther Brunner 4edcb387d4 Added favicon resolving to URL input.
Added blur event after entering URL.
Focus screen after entering URL.
2014-07-31 20:30:43 +09:00

23 lines
561 B
JavaScript

describe('focusElement', function () {
beforeEach(module('stf.focus-element'));
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 focus-element name="name">hi</div>')(scope);
expect(element.text()).toBe('hello, world');
*/
});
});