Skip to content

Commit

Permalink
changes for code coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
earlAchromatic committed Nov 22, 2023
1 parent ef45d2d commit 75f8838
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion components/Loading.vue
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<template>
<div>:)</div>
<div>:()</div>
</template>
2 changes: 1 addition & 1 deletion components/MyLeader.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<nav>
<a href="/index">
<slot > </slot>
<slot/>
</a>
</nav>
</template>
3 changes: 1 addition & 2 deletions components/SlottedComp.vue
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
<template>
<h2>Slot</h2>
<slot></slot>
<h2>No Slot here</h2>
</template>
4 changes: 2 additions & 2 deletions components/myReader.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<button @click="clicked">click</button>
<slot></slot>
<div v-show="clicker">
<AsyncComp> World </AsyncComp>
<AsyncComp> Async Component here </AsyncComp>
</div>
</template>

Expand All @@ -17,7 +17,7 @@ const AsyncComp = defineAsyncComponent({
return new Promise((resolve) => {
setTimeout(() => {
resolve(import('./SlottedComp.vue'));
}, 4000);
}, 6000);
});
},
loadingComponent: Loading,
Expand Down

0 comments on commit 75f8838

Please sign in to comment.