appending a base tag to the head before jasmine tests run.

This commit is contained in:
cdriscol
2015-07-19 22:24:39 -06:00
parent 2f8e20ec1e
commit 9e7239baf7

View File

@@ -0,0 +1,7 @@
'use strict';
(function() {
beforeAll(function() {
angular.element(document.querySelector('head')).append('<base href="/">');
});
}());