[wasm][wbt] Test that `dotnet.js` could be run from any current directory (#69441)
authorYusuke Yamada <yamachu.dev@gmail.com>
Thu, 28 Jul 2022 03:42:13 +0000 (12:42 +0900)
committerGitHub <noreply@github.com>
Thu, 28 Jul 2022 03:42:13 +0000 (23:42 -0400)
commit79d198873c22740bb9860f1bf022f830b46c0055
tree185addfd34a7daedcdff4d39ae2cc2360f3542ec
parent34ea1351bdf2697d775e9145f59eb6df2741a084
[wasm][wbt] Test that `dotnet.js` could be run from any current directory (#69441)

In #72275 we fixed locateFile to deal with relative file path or URL. We could also handle absolute path/URL. This PR is adding tests to prove it works.
eng/testing/scenarios/BuildWasmAppsJobsList.txt
src/mono/wasm/test-main.js
src/tests/BuildWasmApps/Wasm.Build.Tests/BuildTestBase.cs
src/tests/BuildWasmApps/Wasm.Build.Tests/ConfigSrcTests.cs [new file with mode: 0644]
src/tests/BuildWasmApps/Wasm.Build.Tests/WasmRunOutOfAppBundleTests.cs [new file with mode: 0644]