mirror of
https://github.com/openstf/stf
synced 2025-10-04 18:29:17 +02:00
23 lines
585 B
JavaScript
23 lines
585 B
JavaScript
describe('nativeAutocomplete', 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 native-autocomplete name="name">hi</div>')(scope);
|
|
expect(element.text()).toBe('hello, world');
|
|
*/
|
|
|
|
});
|
|
});
|