Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript test throw error

expect( function(){ parser.parse(raw); } ).toThrow(new Error("Parsing is not possible"));
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #javascript #test #throw #error
ADD COMMENT
Topic
Name
2+3 =