Created
May 18, 2021 11:14
-
-
Save aptiko/73396b877896c8d8e9a2602ae8397e93 to your computer and use it in GitHub Desktop.
Initializing Axios
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
import LoginForm from '@/components/LoginForm.vue' | |
import axios from 'axios' | |
describe('LoginForm', () => { | |
let wrapper | |
beforeAll(() => { | |
wrapper = mount(LoginForm, { | |
mocks: { | |
$axios: axios, | |
} | |
}) | |
}) | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment