1
0
Fork 0
mirror of https://github.com/openstf/stf synced 2025-10-04 10:19:30 +02:00
OpenSTF/res/app/components/stf/nav-menu/nav-menu-spec.js
2014-03-26 16:06:49 +09:00

23 lines
546 B
JavaScript

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