Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
annagav committed Mar 4, 2024
1 parent 43133a1 commit 0471e47
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions static/js/components/Navbar_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ describe("Navbar", () => {
"/learner/jane",
"/settings",
"/dashboard",
"/dashboard"
])
})

Expand All @@ -49,7 +48,6 @@ describe("Navbar", () => {
"/learner/jane",
"/settings",
"/learners",
"/learners"
])
}
})
Expand Down
4 changes: 2 additions & 2 deletions static/js/containers/LearnerPage_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ describe("LearnerPage", function() {
return renderComponent(`/learner/${username}`, userActions).then(
([wrapper]) => {
assert.equal(
2,
1,
wrapper.find(".micromasters-nav").find("a[href='/dashboard']")
.length
)
Expand Down Expand Up @@ -1329,7 +1329,7 @@ describe("LearnerPage", function() {
return renderComponent(`/learner/${username}`, anonymousUserActions).then(
([wrapper]) => {
assert.equal(
2,
1,
wrapper.find(".micromasters-nav").find("a[href='/']").length
)
}
Expand Down

0 comments on commit 0471e47

Please sign in to comment.