@@ -9,29 +9,29 @@ const user = session.getProfile(username);
99
1010tap . test ( "make sure status is string" , async ( t ) => {
1111 t . type ( await user . getStatus ( ) , "string" ) ;
12- t . end ( )
12+ t . end ( ) ;
1313} ) ;
1414
1515tap . test ( "make sure status is not empty" , async ( t ) => {
1616 if ( ( await user . getStatus ( ) ) === "" ) {
1717 throw new Error ( "Status is empty" ) ;
1818 }
19- t . end ( )
19+ t . end ( ) ;
2020} ) ;
2121
2222// profile comments
2323const profileComments = await user . getComments ( ) ;
2424
2525tap . test ( "make sure comments is an object (also array)" , ( t ) => {
2626 t . type ( profileComments , "object" ) ;
27- t . end ( )
27+ t . end ( ) ;
2828} ) ;
2929
3030tap . test ( "make sure comments is not empty" , ( t ) => {
3131 if ( profileComments . length === 0 ) {
3232 throw new Error ( "Comments is empty" ) ;
3333 }
34- t . end ( )
34+ t . end ( ) ;
3535} ) ;
3636
3737tap . test ( "make sure comments has correct type" , ( t ) => {
@@ -41,7 +41,7 @@ tap.test("make sure comments has correct type", (t) => {
4141 t . type ( comment . content , "string" ) ;
4242 t . type ( comment . replies , "object" ) ;
4343 } ) ;
44- t . end ( )
44+ t . end ( ) ;
4545} ) ;
4646
4747// comment replies
@@ -53,5 +53,5 @@ tap.test("make sure replies has correct type", (t) => {
5353 t . type ( reply . content , "string" ) ;
5454 } ) ;
5555 } ) ;
56- t . end ( )
56+ t . end ( ) ;
5757} ) ;
0 commit comments