File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -11,8 +11,8 @@ describe('ssg', () => {
1111 const appDir = projectDir ;
1212 await modernBuild ( appDir , [ '--config' , 'modern.ssg.config.ts' ] ) ;
1313
14- const zhHtmlPath = path . join ( appDir , './dist/html/index/zh/index.html' ) ;
15- const enHtmlPath = path . join ( appDir , './dist/html/index/en/index.html' ) ;
14+ const zhHtmlPath = path . join ( appDir , './dist-ssg /html/index/zh/index.html' ) ;
15+ const enHtmlPath = path . join ( appDir , './dist-ssg /html/index/en/index.html' ) ;
1616 const zhContent = fs . readFileSync ( zhHtmlPath , 'utf-8' ) ;
1717 const enContent = fs . readFileSync ( enHtmlPath , 'utf-8' ) ;
1818 expect ( zhContent ) . toMatch ( '你好,世界' ) ;
Original file line number Diff line number Diff line change @@ -13,11 +13,11 @@ describe('ssg', () => {
1313
1414 const zhAboutHtmlPath = path . join (
1515 appDir ,
16- './dist/html/index/zh/about/index.html' ,
16+ './dist-ssg /html/index/zh/about/index.html' ,
1717 ) ;
1818 const enAboutHtmlPath = path . join (
1919 appDir ,
20- './dist/html/index/en/about/index.html' ,
20+ './dist-ssg /html/index/en/about/index.html' ,
2121 ) ;
2222 const zhAboutContent = fs . readFileSync ( zhAboutHtmlPath , 'utf-8' ) ;
2323 const enAboutContent = fs . readFileSync ( enAboutHtmlPath , 'utf-8' ) ;
You can’t perform that action at this time.
0 commit comments