File tree Expand file tree Collapse file tree 2 files changed +0
-6
lines changed
test/fixtures/components/app Expand file tree Collapse file tree 2 files changed +0
-6
lines changed Original file line number Diff line number Diff 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.
Original file line number Diff line number Diff line change 11<script lang="ts" setup>
22import { defineAbility } from ' #imports'
3- import { Can } from ' #components'
43
54const 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
You can’t perform that action at this time.
0 commit comments