This repository has been archived by the owner on Jan 8, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
reduced scope of project, matched component structure with CLI output, clean-up multiple files, changed language.
- Loading branch information
1 parent
e43e721
commit 0f4fc59
Showing
59 changed files
with
412 additions
and
338 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
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
Binary file not shown.
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
23 changes: 23 additions & 0 deletions
23
generator/template/src/components/PageJumbotron/PageJumbotron.spec.js
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,23 @@ | ||
// Component | ||
import PageJumbotron from './index' | ||
|
||
// Utilities | ||
import { shallow, createLocalVue } from '@vue/test-utils' | ||
|
||
// Bootstrap | ||
const localVue = createLocalVue() | ||
|
||
describe('PageJumbotron', () => { | ||
function mountFunction(options = {}) { | ||
return shallow(PageJumbotron, { | ||
localVue, | ||
...options, | ||
}) | ||
} | ||
|
||
it('should work', () => { | ||
const wrapper = mountFunction() | ||
|
||
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
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,3 @@ | ||
import PageJumbotron from './PageJumbotron' | ||
|
||
export default PageJumbotron |
This file was deleted.
Oops, something went wrong.
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,23 @@ | ||
// Component | ||
import Btn from './index' | ||
|
||
// Utilities | ||
import { shallow, createLocalVue } from '@vue/test-utils' | ||
|
||
// Bootstrap | ||
const localVue = createLocalVue() | ||
|
||
describe('Btn', () => { | ||
function mountFunction(options = {}) { | ||
return shallow(Btn, { | ||
localVue, | ||
...options, | ||
}) | ||
} | ||
|
||
it('should work', () => { | ||
const wrapper = mountFunction() | ||
|
||
expect(wrapper.html()).toMatchSnapshot() | ||
}) | ||
}) |
File renamed without changes.
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,3 @@ | ||
import Btn from './Btn' | ||
|
||
export default Btn |
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,23 @@ | ||
// Component | ||
import Card from './index' | ||
|
||
// Utilities | ||
import { shallow, createLocalVue } from '@vue/test-utils' | ||
|
||
// Bootstrap | ||
const localVue = createLocalVue() | ||
|
||
describe('Card', () => { | ||
function mountFunction(options = {}) { | ||
return shallow(Card, { | ||
localVue, | ||
...options, | ||
}) | ||
} | ||
|
||
it('should work', () => { | ||
const wrapper = mountFunction() | ||
|
||
expect(wrapper.html()).toMatchSnapshot() | ||
}) | ||
}) |
File renamed without changes.
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,3 @@ | ||
import Card from './Card' | ||
|
||
export default Card |
23 changes: 23 additions & 0 deletions
23
generator/template/src/components/base/Heading/Heading.spec.js
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,23 @@ | ||
// Component | ||
import Heading from './index' | ||
|
||
// Utilities | ||
import { shallow, createLocalVue } from '@vue/test-utils' | ||
|
||
// Bootstrap | ||
const localVue = createLocalVue() | ||
|
||
describe('Heading', () => { | ||
function mountFunction(options = {}) { | ||
return shallow(Heading, { | ||
localVue, | ||
...options, | ||
}) | ||
} | ||
|
||
it('should work', () => { | ||
const wrapper = mountFunction() | ||
|
||
expect(wrapper.html()).toMatchSnapshot() | ||
}) | ||
}) |
File renamed without changes.
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,3 @@ | ||
import Heading from './Heading' | ||
|
||
export default Heading |
23 changes: 23 additions & 0 deletions
23
generator/template/src/components/base/Section/Section.spec.js
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,23 @@ | ||
// Component | ||
import Section from './index' | ||
|
||
// Utilities | ||
import { shallow, createLocalVue } from '@vue/test-utils' | ||
|
||
// Bootstrap | ||
const localVue = createLocalVue() | ||
|
||
describe('Section', () => { | ||
function mountFunction(options = {}) { | ||
return shallow(Section, { | ||
localVue, | ||
...options, | ||
}) | ||
} | ||
|
||
it('should work', () => { | ||
const wrapper = mountFunction() | ||
|
||
expect(wrapper.html()).toMatchSnapshot() | ||
}) | ||
}) |
File renamed without changes.
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,3 @@ | ||
import Section from './Section' | ||
|
||
export default Section |
23 changes: 23 additions & 0 deletions
23
generator/template/src/layouts/admin/AppBar/AppBar.spec.js
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,23 @@ | ||
// Component | ||
import AppBar from './index' | ||
|
||
// Utilities | ||
import { shallow, createLocalVue } from '@vue/test-utils' | ||
|
||
// Bootstrap | ||
const localVue = createLocalVue() | ||
|
||
describe('AppBar', () => { | ||
function mountFunction(options = {}) { | ||
return shallow(AppBar, { | ||
localVue, | ||
...options, | ||
}) | ||
} | ||
|
||
it('should work', () => { | ||
const wrapper = mountFunction() | ||
|
||
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
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,3 @@ | ||
import AppBar from './AppBar' | ||
|
||
export default AppBar |
23 changes: 23 additions & 0 deletions
23
generator/template/src/layouts/admin/Drawer/Drawer.spec.js
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,23 @@ | ||
// Component | ||
import Drawer from './index' | ||
|
||
// Utilities | ||
import { shallow, createLocalVue } from '@vue/test-utils' | ||
|
||
// Bootstrap | ||
const localVue = createLocalVue() | ||
|
||
describe('Drawer', () => { | ||
function mountFunction(options = {}) { | ||
return shallow(Drawer, { | ||
localVue, | ||
...options, | ||
}) | ||
} | ||
|
||
it('should work', () => { | ||
const wrapper = mountFunction() | ||
|
||
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
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,3 @@ | ||
import Drawer from './Drawer' | ||
|
||
export default Drawer |
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
Oops, something went wrong.