Files
stf-DeviceFarmer/res/app/components/stf/page-visibility/page-visibility-spec.js
Gunther Brunner efed9aefce - Using new generator-stf.
- Refactored top bar to menu partial.
- Added new page-visibility directive.
2014-03-18 21:49:24 +09:00

23 lines
567 B
JavaScript

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