Files
stf-DeviceFarmer/res/app/components/stf/keys/add-adb-key/add-adb-key-spec.js

24 lines
564 B
JavaScript

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