public void Desktop_LoadJsTest()
#endif
        {
            var engine = new ManticoreEngine();

            engine.LoadScript("{}", "index.js");
            engine.Shutdown();
        }
        public async Task Desktop_PluginTest()
#endif
        {
            var           engine  = new ManticoreEngine().Start();
            StringBuilder builder = new StringBuilder();

            engine.WillLoadPolyfill += (s, a) => builder.Append("willLoadPoly,");
            engine.DidLoadPolyfill  += (s, a) => builder.Append("didLoadPoly,");
            engine.WillLoadScript   += (s, a) => builder.Append("willLoadScript,").Append(a.Name).Append(',');
            engine.DidLoadScript    += (s, a) => builder.Append("didLoadScript,").Append(a.Name).Append(',');
            engine.LoadScript("{}", "testScript.js");
            Assert.Equal(builder.ToString(), "willLoadPoly,didLoadPoly,willLoadScript,testScript.js,didLoadScript,testScript.js,");
            engine.Shutdown();
        }