@@ -51,7 +51,7 @@ async function generate(file, moduleType) {
5151
5252 asyncForEach ( element . item , async ( second ) => {
5353 if ( second . hasOwnProperty ( 'item' ) == false ) {
54- writeTest ( second , testPath , pagesPathRelativePath , moduleType )
54+ writeTest ( second , testPath , pagesPathRelativePath , moduleType , configPath )
5555 writePages ( second , pagesPath , jsonSchemaRelativePath , helperPath , moduleType , configPath )
5656 writeJsonSchema ( second , jsonSchemaPath , moduleType )
5757 await waitFor ( 10 )
@@ -73,7 +73,7 @@ async function generate(file, moduleType) {
7373 fs . mkdirSync ( third_runPath , { recursive : true } )
7474 writeRunner ( second , third_testRe , third_runPath , moduleType )
7575 if ( third . hasOwnProperty ( 'item' ) == false ) {
76- writeTest ( third , third_test , third_pageRe , moduleType )
76+ writeTest ( third , third_test , third_pageRe , moduleType , third_confRe )
7777 writePages ( third , third_page , third_schRe , third_helpRe , moduleType , third_confRe )
7878 writeJsonSchema ( third , third_sch , moduleType )
7979 await waitFor ( 10 )
@@ -95,7 +95,7 @@ async function generate(file, moduleType) {
9595 fs . mkdirSync ( fourth_runPath , { recursive : true } )
9696 writeRunner ( third , fourth_testRe , fourth_runPath , moduleType )
9797 if ( fourth . hasOwnProperty ( 'item' ) == false ) {
98- writeTest ( fourth , fourth_test , fourth_pageRe , moduleType )
98+ writeTest ( fourth , fourth_test , fourth_pageRe , moduleType , fourth_confRe )
9999 writePages ( fourth , fourth_page , fourth_schRe , fourth_helpRe , moduleType , fourth_confRe )
100100 writeJsonSchema ( fourth , fourth_sch , moduleType )
101101 await waitFor ( 10 )
@@ -118,7 +118,7 @@ async function generate(file, moduleType) {
118118 writeRunner ( fourth , fifth_testRe , fifth_runPath , moduleType )
119119 await waitFor ( 50 )
120120 if ( fifth . hasOwnProperty ( 'item' ) == false ) {
121- writeTest ( fifth , fifth_test , fifth_pageRe , moduleType )
121+ writeTest ( fifth , fifth_test , fifth_pageRe , moduleType , fifth_confRe )
122122 writePages ( fifth , fifth_page , fifth_schRe , fifth_helpRe , moduleType , fifth_confRe )
123123 writeJsonSchema ( fifth , fifth_sch , moduleType )
124124 await waitFor ( 10 )
@@ -141,7 +141,7 @@ async function generate(file, moduleType) {
141141 writeRunner ( fifth , sixth_testRe , sixth_runPath , moduleType )
142142 await waitFor ( 50 )
143143 if ( sixth . hasOwnProperty ( 'item' ) == false ) {
144- writeTest ( sixth , sixth_test , sixth_pageRe , moduleType )
144+ writeTest ( sixth , sixth_test , sixth_pageRe , moduleType , sixth_confRe )
145145 writePages ( sixth , sixth_page , sixth_schRe , sixth_helpRe , moduleType , sixth_confRe )
146146 writeJsonSchema ( sixth , sixth_sch , moduleType )
147147 await waitFor ( 10 )
@@ -177,7 +177,7 @@ async function generate(file, moduleType) {
177177 fs . mkdirSync ( runPath , { recursive : true } )
178178
179179 writeRunner ( element , testRelativePath , runPath , moduleType )
180- writeTest ( element , testPath , pagesPathRelativePath , moduleType )
180+ writeTest ( element , testPath , pagesPathRelativePath , moduleType , configPath )
181181 writePages ( element , pagesPath , jsonSchemaRelativePath , helperPath , moduleType , configPath )
182182 writeJsonSchema ( element , jsonSchemaPath , moduleType )
183183 await waitFor ( 10 )
0 commit comments