I want a test unit to add a product,
Use jasmine visual studio angularjs
to test whether the function added the product and saved it to the database? or not
To test the function, create product object and send it to the add-on function and then retrieve it from the database
Then, is it the same product sent to the function or not?
please see the function to get the main idea about product's information
please screenshot the result and send it to me back with file test
if you have any question reply me :)