Skip to content

Commit bfd6523

Browse files
committed
Fix failing snapshot
1 parent be9e522 commit bfd6523

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

tests/__tests__/__snapshots__/fetch.js.snap

+1-2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,5 @@ exports[`Fetch makes an API call and displays the greeting when load-greeting is
44
<div>
55
<button data-testid="load-greeting">
66
Fetch
7-
</button> <span data-testid="greeting-text">hello there</span> {{ data ? : null}
8-
</div>
7+
</button> <span data-testid="greeting-text">hello there</span></div>
98
`;

tests/__tests__/components/Fetch.vue

-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
<span
99
v-if="data"
1010
data-testid="greeting-text">{{ data.greeting }}</span>
11-
{{ data ? : null}
1211
</div>
1312
</template>
1413

0 commit comments

Comments
 (0)