-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Renames the TopLogo component to AppLogo since the old name was misleading, because the logo is not bound to the top of the app.
- Loading branch information
1 parent
7e36043
commit 4bbd891
Showing
5 changed files
with
22 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,7 +26,7 @@ html { | |
height: calc(100% - 56px); | ||
} | ||
|
||
.wgu-top-logo { | ||
.wgu-app-logo { | ||
left: 25px; | ||
top: 45px; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import Vue from 'vue' | ||
import AppLogo from '@/components/AppLogo' | ||
|
||
describe('AppLogo.vue', () => { | ||
it('should render an <img> tag', () => { | ||
const Constructor = Vue.extend(AppLogo); | ||
const AppLogoComponent = new Constructor({ | ||
logoSrc: 'foosrc' | ||
}).$mount(); | ||
|
||
// assert that component has an img tag | ||
const avatarImg = AppLogoComponent.$el.querySelector('img'); | ||
expect(avatarImg.src !== null).to.equal(true); | ||
}); | ||
}); |
This file was deleted.
Oops, something went wrong.