File tree 1 file changed +1
-11
lines changed
1 file changed +1
-11
lines changed Original file line number Diff line number Diff line change @@ -19,8 +19,7 @@ describe("FieldCheckbox.vue", () => {
19
19
let schema = {
20
20
type : "checkbox" ,
21
21
label : "Status" ,
22
- model : "status" ,
23
- readonly : false
22
+ model : "status"
24
23
} ;
25
24
let model = { status : true } ;
26
25
let input ;
@@ -36,7 +35,6 @@ describe("FieldCheckbox.vue", () => {
36
35
37
36
expect ( input ) . to . be . defined ;
38
37
expect ( input . type ) . to . be . equal ( "checkbox" ) ;
39
- expect ( input . readOnly ) . to . be . false ;
40
38
expect ( input . disabled ) . to . be . false ;
41
39
} ) ;
42
40
@@ -47,14 +45,6 @@ describe("FieldCheckbox.vue", () => {
47
45
} ) ;
48
46
} ) ;
49
47
50
- it ( "should set readOnly" , ( done ) => {
51
- schema . readonly = true ;
52
- vm . $nextTick ( ( ) => {
53
- expect ( input . readOnly ) . to . be . true ;
54
- done ( ) ;
55
- } ) ;
56
- } ) ;
57
-
58
48
it ( "should set disabled" , ( done ) => {
59
49
field . disabled = true ;
60
50
vm . $nextTick ( ( ) => {
You can’t perform that action at this time.
0 commit comments