Skip to content

Commit

Permalink
chore: reset template back to vue
Browse files Browse the repository at this point in the history
  • Loading branch information
dword-design committed Mar 19, 2021
1 parent d87492e commit 98443db
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/index.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,19 @@ export default {
valid: () =>
withLocalTmpDir(async () => {
await outputFile(
'pages/index.js',
'pages/index.vue',
endent`
<template>
<button v-focus-on-mouseup>Hello world</button>
</template>
<script>
import focusOnMouseup from '../../src'
export default {
directives: { focusOnMouseup },
render: h => <button v-focus-on-mouseup>Hello world</button>,
}
</script>
`
)
Expand Down

0 comments on commit 98443db

Please sign in to comment.