Skip to content

Commit

Permalink
added vue sfc with no script tag to the snapshot tests
Browse files Browse the repository at this point in the history
  • Loading branch information
adamdilgergeo committed Dec 13, 2022
1 parent f80d97f commit 5dabf83
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
25 changes: 25 additions & 0 deletions tests/Vue/__snapshots__/ppsi.spec.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,31 @@ export default defineComponent({});
`;

exports[`sfcNoScript.vue - vue-verify: sfcNoScript.vue 1`] = `
<template>
<div>
<span>hello world
</span></div>
</template>
<style>
div { color: red; }
</style>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<template>
<div>
<span>hello world </span>
</div>
</template>
<style>
div {
color: red;
}
</style>
`;

exports[`ts.vue - vue-verify: ts.vue 1`] = `
<script lang="ts">
// I am top level comment in this file.
Expand Down
9 changes: 9 additions & 0 deletions tests/Vue/sfcNoScript.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<template>
<div>
<span>hello world
</span></div>
</template>

<style>
div { color: red; }
</style>

0 comments on commit 5dabf83

Please sign in to comment.