mirror of
https://github.com/openstf/stf
synced 2025-10-05 10:39:25 +02:00
- New nav menu.
- Polishing device list.
This commit is contained in:
parent
8ed3ae1784
commit
593e14a80a
12 changed files with 115 additions and 10 deletions
23
res/app/components/stf/nav-menu/nav-menu-spec.js
Normal file
23
res/app/components/stf/nav-menu/nav-menu-spec.js
Normal file
|
@ -0,0 +1,23 @@
|
|||
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');
|
||||
*/
|
||||
|
||||
});
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue