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
#!/bin/bash | |
#Install Laravel Homestead (http://laravel.com/docs/5.0/homestead) | |
#ssh into Homestead "homestead ssh" | |
#Run the script using "sudo bash homestead_extras.sh" | |
#Leave all the default options sugested during the installation, and do not modify any files!! | |
apt-get update | |
#Additional Packages | |
apt-get install -y php5-ldap php5-mssql |
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 { shallowMount } from '@vue/test-utils' | |
import UserView from '@/views/UserView' | |
describe('UserView', () => { | |
it('renders the component', () => { | |
// arrange | |
const wrapper = shallowMount(UserView) | |
// assert | |
expect(wrapper.html()).toMatchSnapshot() |
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
<script> | |
export default { | |
name: 'UserView' | |
} | |
</script> | |
<template> | |
<div> | |
UserView | |
</div> |
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
<script> | |
export default { | |
name: 'UserView' | |
} | |
</script> | |
<template> | |
<div> | |
Hello World | |
</div> |
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 { shallowMount } from '@vue/test-utils' | |
import UserView from '@/views/UserView' | |
import VUserSearchForm from '@/components/VUserSearchForm' | |
import VUserProfile from '@/components/VUserProfile' | |
describe('UserView', () => { | |
it('renders the component', () => { | |
// arrange | |
const wrapper = shallowMount(UserView) |
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
<script> | |
export default { | |
name: 'UserProfile' | |
} | |
</script> | |
<template> | |
<div> | |
UserProfile | |
</div> |
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
<script> | |
export default { | |
name: 'UserSearchForm' | |
} | |
</script> | |
<template> | |
<div> | |
UserSearchForm | |
</div> |
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
<script> | |
import VUserSearchForm from '@/components/VUserSearchForm' | |
import VUserProfile from '@/components/VUserProfile' | |
export default { | |
name: 'UserView', | |
components: { | |
VUserSearchForm, | |
VUserProfile, | |
} |
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 { shallowMount } from '@vue/test-utils' | |
import UserView from '@/views/UserView' | |
import VUserSearchForm from '@/components/VUserSearchForm' | |
import VUserProfile from '@/components/VUserProfile' | |
describe('UserView', () => { | |
const build = () => { | |
const wrapper = shallowMount(UserView) | |
return { |
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 { shallowMount } from '@vue/test-utils' | |
import UserView from '@/views/UserView' | |
import VUserSearchForm from '@/components/VUserSearchForm' | |
import VUserProfile from '@/components/VUserProfile' | |
describe('UserView', () => { | |
const build = () => { | |
const wrapper = shallowMount(UserView, { | |
data: () => ({ | |
user: {} |
OlderNewer