Skip to content

Instantly share code, notes, and snippets.

@SFoskitt
Last active March 13, 2017 19:04
Show Gist options
  • Save SFoskitt/d37fe454b819161eb6b48d53e1550587 to your computer and use it in GitHub Desktop.
Save SFoskitt/d37fe454b819161eb6b48d53e1550587 to your computer and use it in GitHub Desktop.
DocumentDisplaySpec.js
/**
* Created by SFoskitt on 7/29/16.
*/
describe('DocumentDisplayStateService: ', () => {
let $rootScope, $scope, $httpBackend, DocumentDisplayStateService;
beforeEach(() => {
angular.mock.module('');
inject($injector => {
$rootScope = $injector.get('$rootScope');
$scope = $rootScope.$new();
$httpBackend = $injector.get('$httpBackend');
DocumentDisplayStateService = $injector.get('DocumentDisplayStateService');
});
});
it('should be defined', () => {
expect(DocumentDisplayStateService).toBeDefined();
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment