Skip to content

Instantly share code, notes, and snippets.

@SFoskitt
Last active March 13, 2017 19:04
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
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