chore: lint
This commit is contained in:
parent
42abb64551
commit
0265022518
6
.vscode/settings.json
vendored
6
.vscode/settings.json
vendored
@ -6,10 +6,10 @@
|
|||||||
"i18n-ally.sortKeys": true,
|
"i18n-ally.sortKeys": true,
|
||||||
"prettier.enable": false,
|
"prettier.enable": false,
|
||||||
"editor.codeActionsOnSave": {
|
"editor.codeActionsOnSave": {
|
||||||
"source.fixAll.eslint": true,
|
"source.fixAll.eslint": true
|
||||||
},
|
},
|
||||||
"files.associations": {
|
"files.associations": {
|
||||||
"*.css": "postcss",
|
"*.css": "postcss"
|
||||||
},
|
},
|
||||||
"editor.formatOnSave": false,
|
"editor.formatOnSave": false
|
||||||
}
|
}
|
||||||
|
@ -5,7 +5,7 @@ export const install: UserModule = ({ isClient, router }) => {
|
|||||||
if (!isClient)
|
if (!isClient)
|
||||||
return
|
return
|
||||||
|
|
||||||
router.isReady().then(async() => {
|
router.isReady().then(async () => {
|
||||||
const { registerSW } = await import('virtual:pwa-register')
|
const { registerSW } = await import('virtual:pwa-register')
|
||||||
registerSW({ immediate: true })
|
registerSW({ immediate: true })
|
||||||
})
|
})
|
||||||
|
@ -9,7 +9,7 @@ describe('Counter.vue', () => {
|
|||||||
expect(wrapper.html()).toMatchSnapshot()
|
expect(wrapper.html()).toMatchSnapshot()
|
||||||
})
|
})
|
||||||
|
|
||||||
it('should be interactive', async() => {
|
it('should be interactive', async () => {
|
||||||
const wrapper = mount(Counter, { props: { initial: 0 } })
|
const wrapper = mount(Counter, { props: { initial: 0 } })
|
||||||
expect(wrapper.text()).toContain('0')
|
expect(wrapper.text()).toContain('0')
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user