blob: 6f4d008a29f9bb51081759a882076ee130cbd97f [file] [log] [blame]
//-------------------------------------------------------------------------------------------------------
// Copyright (C) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
//-------------------------------------------------------------------------------------------------------
//
//In theory this test could be race-y -- in which case suppress the console printing but in general ch should be well behaved
//
telemetryLog("Start Global Code", true);
function foo1()
{
telemetryLog("Start Foo1", true);
WScript.Echo("Hello World - CallBack 1");
telemetryLog("End Foo1", true);
}
function foo2()
{
telemetryLog("Start Foo2", true);
WScript.Echo("Hello World - CallBack 2");
telemetryLog("End Foo2", true);
}
function foo3()
{
telemetryLog("Start Foo3", true);
WScript.Echo("Hello World - CallBack 3");
telemetryLog("End Foo3", true);
}
WScript.SetTimeout(foo1, 200);
WScript.SetTimeout(foo2, 400);
WScript.SetTimeout(foo3, 600);
WScript.Echo("Hello World - Global");
telemetryLog("End Global Code", true);