I am trying to use JSunit to test some JavaScript code in my zimlet.

To do this, I create an HTML file and include my JavaScript files. But because my zimlet depends on Zimbra's JavaScript I have to also include the correct Zimbra JavaScript files.

My question: Exactly which JavaScript files do I need to include to capture all the necessary Zimlet code?

I tried something like this:

<script type="text/javascript"

src="https://zimbra.example.com/zimbra/res/I18nMsg,AjxMsg,ZMsg,ZmMsg,AjxKeys,ZmKeys,ZdMsg,Ajx TemplateMsg.js.zgz?v=091214175450&skin=bones"></script>
<script type="text/javascript"

src="https://zimbra.example.com/zimbra/js/Startup1_1_all.js.zgz?v=091214175450"></script>
<script type="text/javascript"

src="https://zimbra.example.com/zimbra/js/Startup1_2_all.js.zgz?v=091214175450"></script>
<script type="text/javascript"

src="https://zimbra.example.com/service/zimlet/res/Zimlets-nodev_all.js.zgz?language=en&country=US"></script>


But this was not enough (I would get errors complaining about missing classes). Any suggestions?