Skip to content

Commit

Permalink
feat(grants): move registration links below panel and update test imp…
Browse files Browse the repository at this point in the history
…ort to shallowMount
  • Loading branch information
lsr-explore committed Oct 9, 2024
1 parent 1171fc5 commit 0947a18
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions packages/client/src/views/LoginView.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import LoginView from '@/views/LoginView.vue';
import {
describe, it, expect, beforeEach,
} from 'vitest';
import { mount } from '@vue/test-utils';
import { shallowMount } from '@vue/test-utils';

describe('LoginView', () => {
const $route = {
Expand All @@ -13,7 +13,7 @@ describe('LoginView', () => {
let wrapper;

beforeEach(() => {
wrapper = mount(LoginView, {
wrapper = shallowMount(LoginView, {
global: {
mocks: {
$route,
Expand Down
5 changes: 3 additions & 2 deletions packages/client/src/views/LoginView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@
>
{{ error.$message }}
</div>
<hr class="my-4">
</b-card-text>
<div>
<div class="font-weight-bold">
Don't have an account?
</div>
Expand Down Expand Up @@ -92,7 +93,7 @@
<div class="mt-3">
<span class="font-weight-bold">Need help? </span><a href="mailto:[email protected]?subject=Federal Grant Finder Login Issue">Contact USDR for support.</a>
</div>
</b-card-text>
</div>
</b-card>
</main>
</template>
Expand Down

0 comments on commit 0947a18

Please sign in to comment.