Subject: | Add more options to Test::JavaScript::More |
Hi, I hope that I can use Test::JavaScript::More like this:
use MyInitModule;
use Test::JavaScript::More {
runtime => MyInitModule->get_runtime,
context => MyInitModule->get_context,
};
my_own_js_func(...)
In this case, Test::JavaScript::More::_init will use the JS
context/runtime given by the user rather than setup a new conntext itself.
I really need this feature ;)
Thanks!
agentz