Files
stf-DeviceFarmer/res/app/components/stf/common-ui/tooltips/tooltips-spec.js
Gunther Brunner 743f8becd6 - Finally, most of the unit tests now passes (resolving dependencies also).
- Shims now exports angular module name, however some of them clash with the original.
2014-08-21 22:04:19 +09:00

24 lines
564 B
JavaScript

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