Skip to content

Commit 31f1dd4

Browse files
committed
test: remove component prop args
1 parent 27d51b2 commit 31f1dd4

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

playground/app.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ const product: Product = {
1515

1616
<Can
1717
:bouncer-ability="createProduct"
18-
:args="[]"
1918
>
2019
<p>
2120
I can create a product.

test/fixtures/components/app/app.vue

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<script lang="ts" setup>
22
import { defineAbility } from '#imports'
3-
import { Can } from '#components'
43
54
const can = defineAbility(() => {
65
return true
@@ -15,7 +14,6 @@ const cannot = defineAbility(() => {
1514
<div>
1615
<Can
1716
:bouncer-ability="can"
18-
:args="[]"
1917
>
2018
<div data-testid="view-can">
2119
Can
@@ -24,7 +22,6 @@ const cannot = defineAbility(() => {
2422

2523
<Can
2624
:bouncer-ability="cannot"
27-
:args="[]"
2825
>
2926
<div data-testid="view-not-can">
3027
Cannot
@@ -33,7 +30,6 @@ const cannot = defineAbility(() => {
3330

3431
<Cannot
3532
:bouncer-ability="can"
36-
:args="[]"
3733
>
3834
<div data-testid="view-cannot">
3935
Cannot
@@ -42,7 +38,6 @@ const cannot = defineAbility(() => {
4238

4339
<Cannot
4440
:bouncer-ability="cannot"
45-
:args="[]"
4641
>
4742
<div data-testid="view-not-cannot">
4843
Can

0 commit comments

Comments
 (0)