jqUnit's fetchTemplate() function should load templates synchronously, rather than asynchronously, to be more flexible
Description
At the moment, jqUnit's fetchTemplate() method loads templates asynchronously using jQuery.load().We should replace the call to load with a synchronous Ajax calls so that tests can be assured that the template will be in place immediately after the call to fetchTemplate() returns.
Due to the awkward state of the Builder tests, we appear to require the template to be loaded immediately within setup code. Making fetchTemplate() synchronous should address this issue.
At the moment, jqUnit's fetchTemplate() method loads templates asynchronously using jQuery.load().We should replace the call to load with a synchronous Ajax calls so that tests can be assured that the template will be in place immediately after the call to fetchTemplate() returns.