File tree 1 file changed +7
-4
lines changed
1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -52,7 +52,8 @@ describe("VueFormGenerator.vue", () => {
52
52
let schema = {
53
53
fields : [
54
54
{
55
- type : "text" ,
55
+ type : "input" ,
56
+ inputType : "text" ,
56
57
label : "Name" ,
57
58
model : "name" ,
58
59
readonly : false ,
@@ -71,7 +72,7 @@ describe("VueFormGenerator.vue", () => {
71
72
it ( "should be minimal classes" , ( ) => {
72
73
expect ( group . classList . length ) . to . be . equal ( 2 ) ;
73
74
expect ( group . classList . contains ( "form-group" ) ) . to . be . true ;
74
- expect ( group . classList . contains ( "field-text " ) ) . to . be . true ;
75
+ expect ( group . classList . contains ( "field-input " ) ) . to . be . true ;
75
76
} ) ;
76
77
77
78
it ( "should be featured class" , ( done ) => {
@@ -138,7 +139,8 @@ describe("VueFormGenerator.vue", () => {
138
139
let schema = {
139
140
fields : [
140
141
{
141
- type : "text" ,
142
+ type : "input" ,
143
+ inputType : "text" ,
142
144
label : "Name" ,
143
145
model : "name" ,
144
146
help : null
@@ -176,7 +178,8 @@ describe("VueFormGenerator.vue", () => {
176
178
let schema = {
177
179
fields : [
178
180
{
179
- type : "text" ,
181
+ type : "input" ,
182
+ inputType : "text" ,
180
183
label : "Name" ,
181
184
model : "name" ,
182
185
hint : "Hint text" ,
You can’t perform that action at this time.
0 commit comments