FuncUnit.static.href  attribute     

The location of the page running the tests on the server and where relative paths passed in to FuncUnit.open will be referenced from.

This is typically where the test page runs on the server. It can be set before calls to FuncUnit.open:

test("opening something", function(){
  S.href = "http://localhost/tests/mytest.html"
  S.open("../myapp")
  ...
})
© Jupiter IT - JavaScriptMVC Training and Support