1- import { printMain , printFooter , printBody , printHead , printFooter , _writingFile } from '../src/methods'
1+ import { printMain , printFooter , printBody , printHead , writingFile } from '../src/methods'
22
33
44// console.log(printMain())
@@ -21,8 +21,8 @@ describe('test helpers', () => {
2121
2222 // // console.log(string);
2323 expect ( printHead ( ) ) . toBeDefined ( ) ;
24-
25- _writingFile ( string1 ) ;
24+ writingFile ( string1 , 'lit-empty' ) ;
25+
2626 } ) ;
2727
2828
@@ -34,6 +34,7 @@ describe('test helpers', () => {
3434 expect ( printFooter ( ) ) . toBeDefined ( ) ;
3535
3636 writingFile ( string2 ) ;
37+ writingFile ( string1 , 'lit-empty' ) ;
3738 } ) ;
3839
3940 test ( 'rendering Body Component' , ( ) => {
@@ -44,6 +45,7 @@ describe('test helpers', () => {
4445 expect ( printBody ( ) ) . toBeDefined ( ) ;
4546
4647 writingFile ( string3 ) ;
48+ writingFile ( string1 , 'lit-empty' ) ;
4749 } ) ;
4850
4951
@@ -65,6 +67,7 @@ describe('test helpers', () => {
6567 expect ( printMain ( ) ) . toBeDefined ( ) ;
6668
6769 writingFile ( string4 ) ;
70+ writingFile ( string1 , 'lit-empty' ) ;
6871 expect ( typeof string ) . toBe ( 'string' ) ;
6972
7073 } ) ;
0 commit comments