diff --git a/apis/extensions_test.go b/apis/extensions_test.go index b292a2d3..74baff02 100644 --- a/apis/extensions_test.go +++ b/apis/extensions_test.go @@ -72,7 +72,7 @@ func TestUIExtensions_Mainjs(t *testing.T) { }, AfterTestFunc: successAfterTestFunc, ExpectedStatus: 200, - ExpectedContent: []string{"(function(){ext1_main})();(function(){ext3_main})();"}, + ExpectedContent: []string{"await (async function(){ext1_main})();await (async function(){ext3_main})();"}, ExpectedEvents: map[string]int{"*": 0}, }, }