Mock the datatable API calls for Jasmine

Mock the datatable API calls for Jasmine

impurfectimpurfect Posts: 4Questions: 2Answers: 0

Hi, I am using Jasmine for testing in my project and I have to check if my function calls

$.fn.dataTable.ext.search.push(...);

What part of the call should I spy to test if this function is called?

This discussion has been closed.