File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -52,7 +52,8 @@ describe("VueFormGenerator.vue", () => {
5252 let schema = {
5353 fields : [
5454 {
55- type : "text" ,
55+ type : "input" ,
56+ inputType : "text" ,
5657 label : "Name" ,
5758 model : "name" ,
5859 readonly : false ,
@@ -71,7 +72,7 @@ describe("VueFormGenerator.vue", () => {
7172 it ( "should be minimal classes" , ( ) => {
7273 expect ( group . classList . length ) . to . be . equal ( 2 ) ;
7374 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 ;
7576 } ) ;
7677
7778 it ( "should be featured class" , ( done ) => {
@@ -138,7 +139,8 @@ describe("VueFormGenerator.vue", () => {
138139 let schema = {
139140 fields : [
140141 {
141- type : "text" ,
142+ type : "input" ,
143+ inputType : "text" ,
142144 label : "Name" ,
143145 model : "name" ,
144146 help : null
@@ -176,7 +178,8 @@ describe("VueFormGenerator.vue", () => {
176178 let schema = {
177179 fields : [
178180 {
179- type : "text" ,
181+ type : "input" ,
182+ inputType : "text" ,
180183 label : "Name" ,
181184 model : "name" ,
182185 hint : "Hint text" ,
You can’t perform that action at this time.
0 commit comments