public async void RunWithGlobalVariables_Succeed() { Action act = () => { }; var container = new Container(); container.Register(act, "act"); var runner = new JsCodeRunner("act();", container); await runner.RunAsync(); }
public async void Run() { var runner = new JsCodeRunner("let a = 1;", new Container()); await runner.RunAsync(); }