Skip to content

Commit

Permalink
style: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe committed Apr 25, 2024
1 parent 4841f2e commit 3b805ec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/commands/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export default defineCommand({
jsxImportSource: 'vue',
jsx: 'automatic',
jsxFactory: 'h',
}
},
},
],
rollup: {
Expand Down
2 changes: 1 addition & 1 deletion test/build.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ describe('module builder', () => {
it('should handle JSX correctly', async () => {
const [component, declaration] = await Promise.all([
readFile(join(distDir, 'runtime/components/JsxComponent.mjs'), 'utf-8'),
readFile(join(distDir, 'runtime/components/JsxComponent.d.ts'), 'utf-8')
readFile(join(distDir, 'runtime/components/JsxComponent.d.ts'), 'utf-8'),
])
expect(component).toMatchFileSnapshot('__snapshots__/JsxComponent.mjs')
expect(declaration).toMatchFileSnapshot('__snapshots__/JsxComponent.d.ts')
Expand Down

0 comments on commit 3b805ec

Please sign in to comment.