Skip to content

Latest commit

 

History

History

test

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

$mol_test

Defines and runs tests. For assertions you can use $mol_assert. See stack trace in console or enable "Pause on exceptions" to stop debugger on failed test.

Example

$mol_test({
    '2**3 = 8'() {
        $mol_assert_equal( 2**3 , 8 )
    } ,
    'async support' : 'async()=>{}' ,
})