mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-16 23:30:23 +00:00
19 lines
282 B
JavaScript
19 lines
282 B
JavaScript
'use strict';
|
|
|
|
describe('$window', function() {
|
|
var scope;
|
|
|
|
beforeEach(function() {
|
|
scope = angular.scope();
|
|
});
|
|
|
|
|
|
afterEach(function() {
|
|
dealoc(scope);
|
|
});
|
|
|
|
|
|
it("should inject $window", function() {
|
|
expect(scope.$service('$window')).toBe(window);
|
|
});
|
|
});
|