Skip to content

Commit

Permalink
Merge pull request #139 from TAMULib/staging
Browse files Browse the repository at this point in the history
Staging
  • Loading branch information
kaladay committed Dec 16, 2022
2 parents d7105c1 + 833a1b5 commit 7fb927a
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
Empty file modified .gitignore 100755 → 100644
Empty file.
Empty file modified .jshintrc 100755 → 100644
Empty file.
6 changes: 4 additions & 2 deletions package.json
Expand Up @@ -24,12 +24,14 @@
"start": "wvr server --port 8080"
},
"dependencies": {
"@wvr/core": "2.2.2-rc.13",
"@wvr/core": "2.2.2-rc.14",
"ng-table": "3.0.1"
},
"devDependencies": {
},
"overrides": {
"glob-stream": "^7.0.0"
"glob-stream": "^7.0.0",
"minimatch": "^3.1.2",
"qs": "^6.11.0"
}
}
8 changes: 7 additions & 1 deletion tests/unit/controllers/activeSprintsControlerTest.js
Expand Up @@ -35,6 +35,7 @@ describe("controller: ActiveSprintsController", function () {
beforeEach(function () {
module("core");
module("app");
module("templates");
module("mock.activeSprintsService");
module("mock.statusRepo");
module("mock.user", function ($provide) {
Expand Down Expand Up @@ -116,7 +117,12 @@ describe("controller: ActiveSprintsController", function () {
"name": "Ryan Laddusaw",
"avatar": "no_avatar.png"
});
expect(avatarUrl).toEqual("http://localhost:9001/products/images/no_avatar.png");

// Tests are not loading the base href.
// An error message like "$location in HTML5 mode requires a <base> tag to be present" appears despite the index.html having a base path of '<base href="/products/">'.
// Remove the /products/ from the URL until such time the test process can be fixed.
// Adding the module("templates"); to load the templates above to load the HTML templates does not help any.
expect(avatarUrl).toEqual("http://localhost:9000/images/no_avatar.png");
});

it("getHtmlContent get trusted content", function () {
Expand Down

0 comments on commit 7fb927a

Please sign in to comment.