Skip to content

JSExportAttribute improvements #44

JSExportAttribute improvements

JSExportAttribute improvements #44

GitHub Actions / test results (windows-latest, net8.0, node18.x, Release) failed Apr 11, 2024 in 1s

86 passed, 23 failed and 13 skipped

Tests failed

❌ test/net8.0-node18.x-Release/runneradmin_fv-az980-697_2024-04-11_21_18_20.trx

122 tests were completed in 202s with 86 passed, 23 failed and 13 skipped.

Test suite Passed Failed Skipped Time
Microsoft.JavaScript.NodeApi.Test.GCTests 2⚪ 2ms
Microsoft.JavaScript.NodeApi.Test.HostedClrTests 18✅ 14❌ 13s
Microsoft.JavaScript.NodeApi.Test.JSProjectTests 16✅ 163s
Microsoft.JavaScript.NodeApi.Test.JSReferenceTests 4✅ 9ms
Microsoft.JavaScript.NodeApi.Test.JSValueScopeTests 19✅ 12ms
Microsoft.JavaScript.NodeApi.Test.NativeAotTests 18✅ 9❌ 24s
Microsoft.JavaScript.NodeApi.Test.NodejsEmbeddingTests 11⚪ 11ms
Microsoft.JavaScript.NodeApi.Test.TypeDefsGeneratorTests 11✅ 26ms

✅ Microsoft.JavaScript.NodeApi.Test.GCTests

⚪ GCHandles
⚪ GCObjects

❌ Microsoft.JavaScript.NodeApi.Test.HostedClrTests

✅ Test(id: "edgejs-perf/measure-latency")
✅ Test(id: "napi-dotnet-init/custom_export")
✅ Test(id: "napi-dotnet-init/custom_init")
❌ Test(id: "napi-dotnet/async_methods")
	Assert.Fail(): Build failed. Check the log for details: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\napi-dotnet\net8.0\hosted-build.log
❌ Test(id: "napi-dotnet/complex_types")
	Assert.Fail(): Build failed. Check the log for details: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\napi-dotnet\net8.0\hosted-build.log
❌ Test(id: "napi-dotnet/delegates")
	Assert.Fail(): Build failed. Check the log for details: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\napi-dotnet\net8.0\hosted-build.log
❌ Test(id: "napi-dotnet/dynamic_extensions")
	Assert.Fail(): Build failed. Check the log for details: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\napi-dotnet\net8.0\hosted-build.log
❌ Test(id: "napi-dotnet/dynamic_generics")
	Assert.Fail(): Build failed. Check the log for details: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\napi-dotnet\net8.0\hosted-build.log
❌ Test(id: "napi-dotnet/dynamic_invoke")
	Assert.Fail(): Build failed. Check the log for details: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\napi-dotnet\net8.0\hosted-build.log
❌ Test(id: "napi-dotnet/dynamic_no_namespace_type")
	Assert.Fail(): Build failed. Check the log for details: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\napi-dotnet\net8.0\hosted-build.log
❌ Test(id: "napi-dotnet/dynamic_optional_params")
	Assert.Fail(): Build process exited with code: 1. Full output: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\napi-dotnet\net8.0\hosted-build.log
❌ Test(id: "napi-dotnet/errors")
	Assert.Fail(): Build failed. Check the log for details: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\napi-dotnet\net8.0\hosted-build.log
❌ Test(id: "napi-dotnet/hello")
	Assert.Fail(): Build failed. Check the log for details: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\napi-dotnet\net8.0\hosted-build.log
❌ Test(id: "napi-dotnet/module_class")
	Assert.Fail(): Build failed. Check the log for details: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\napi-dotnet\net8.0\hosted-build.log
❌ Test(id: "napi-dotnet/multi_instance")
	Assert.Fail(): Build failed. Check the log for details: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\napi-dotnet\net8.0\hosted-build.log
❌ Test(id: "napi-dotnet/overloads")
	Assert.Fail(): Build failed. Check the log for details: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\napi-dotnet\net8.0\hosted-build.log
❌ Test(id: "napi-dotnet/streams")
	Assert.Fail(): Build failed. Check the log for details: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\napi-dotnet\net8.0\hosted-build.log
✅ Test(id: "node-addon-api/basic_types/array")
✅ Test(id: "node-addon-api/basic_types/boolean")
✅ Test(id: "node-addon-api/basic_types/number")
✅ Test(id: "node-addon-api/basic_types/value")
✅ Test(id: "node-addon-api/bigint")
✅ Test(id: "node-addon-api/object/delete_property")
✅ Test(id: "node-addon-api/object/finalizer")
✅ Test(id: "node-addon-api/object/get_property")
✅ Test(id: "node-addon-api/object/has_own_property")
✅ Test(id: "node-addon-api/object/has_property")
✅ Test(id: "node-addon-api/object/object_freeze_seal")
✅ Test(id: "node-addon-api/object/object")
✅ Test(id: "node-addon-api/object/set_property")
✅ Test(id: "node-addon-api/object/subscript_operator")
✅ Test(id: "node-addon-api/testUtil")

✅ Microsoft.JavaScript.NodeApi.Test.JSProjectTests

✅ Test(id: "projects/js-cjs-dynamic/default")
✅ Test(id: "projects/js-cjs-dynamic/net8.0")
✅ Test(id: "projects/js-cjs-module/default")
✅ Test(id: "projects/js-cjs-module/net8.0")
✅ Test(id: "projects/js-esm-dynamic/default")
✅ Test(id: "projects/js-esm-dynamic/net8.0")
✅ Test(id: "projects/js-esm-module/default")
✅ Test(id: "projects/js-esm-module/net8.0")
✅ Test(id: "projects/ts-cjs-dynamic/default")
✅ Test(id: "projects/ts-cjs-dynamic/net8.0")
✅ Test(id: "projects/ts-cjs-module/default")
✅ Test(id: "projects/ts-cjs-module/net8.0")
✅ Test(id: "projects/ts-esm-dynamic/default")
✅ Test(id: "projects/ts-esm-dynamic/net8.0")
✅ Test(id: "projects/ts-esm-module/default")
✅ Test(id: "projects/ts-esm-module/net8.0")

✅ Microsoft.JavaScript.NodeApi.Test.JSReferenceTests

✅ GetReferenceFromDifferentRootScope
✅ GetReferenceFromDifferentThread
✅ GetReferenceFromParentScope
✅ GetReferenceFromSameScope

✅ Microsoft.JavaScript.NodeApi.Test.JSValueScopeTests

✅ AccessPropertyKeyFromClosedScope
✅ AccessValueFromClosedScope
✅ AccessValueFromDifferentRootScope
✅ AccessValueFromDifferentThread
✅ CreateCallbackScope
✅ CreateEscapableScopeWithinCallback
✅ CreateHandleScopeWithinCallback
✅ CreateHandleScopeWithinModule
✅ CreateHandleScopeWithinRoot
✅ CreateModuleScopeWithinNoContextScope
✅ CreateModuleScopeWithinRootScope
✅ CreateModuleScopeWithoutRoot
✅ CreateNoContextScope
✅ CreateRootScope
✅ CreateValueFromDifferentThread
✅ InvalidCallbackContextScopeNesting
✅ InvalidModuleContextScopeNesting
✅ InvalidNoContextScopeNesting
✅ InvalidRootContextScopeNesting

❌ Microsoft.JavaScript.NodeApi.Test.NativeAotTests

✅ Test(id: "edgejs-perf/measure-latency")
✅ Test(id: "napi-dotnet-init/custom_export")
✅ Test(id: "napi-dotnet-init/custom_init")
❌ Test(id: "napi-dotnet/async_methods")
	Assert.Fail(): Build failed. Check the log for details: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\napi-dotnet\net8.0\aot-build.log
❌ Test(id: "napi-dotnet/complex_types")
	Assert.Fail(): Build failed. Check the log for details: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\napi-dotnet\net8.0\aot-build.log
❌ Test(id: "napi-dotnet/delegates")
	Assert.Fail(): Build failed. Check the log for details: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\napi-dotnet\net8.0\aot-build.log
❌ Test(id: "napi-dotnet/errors")
	Assert.Fail(): Build failed. Check the log for details: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\napi-dotnet\net8.0\aot-build.log
❌ Test(id: "napi-dotnet/hello")
	Assert.Fail(): Build failed. Check the log for details: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\napi-dotnet\net8.0\aot-build.log
❌ Test(id: "napi-dotnet/module_class")
	Assert.Fail(): Build failed. Check the log for details: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\napi-dotnet\net8.0\aot-build.log
❌ Test(id: "napi-dotnet/multi_instance")
	Assert.Fail(): Build failed. Check the log for details: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\napi-dotnet\net8.0\aot-build.log
❌ Test(id: "napi-dotnet/overloads")
	Assert.Fail(): Build failed. Check the log for details: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\napi-dotnet\net8.0\aot-build.log
❌ Test(id: "napi-dotnet/streams")
	Assert.Fail(): Build process exited with code: 1. Full output: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\napi-dotnet\net8.0\aot-build.log
✅ Test(id: "node-addon-api/basic_types/array")
✅ Test(id: "node-addon-api/basic_types/boolean")
✅ Test(id: "node-addon-api/basic_types/number")
✅ Test(id: "node-addon-api/basic_types/value")
✅ Test(id: "node-addon-api/bigint")
✅ Test(id: "node-addon-api/object/delete_property")
✅ Test(id: "node-addon-api/object/finalizer")
✅ Test(id: "node-addon-api/object/get_property")
✅ Test(id: "node-addon-api/object/has_own_property")
✅ Test(id: "node-addon-api/object/has_property")
✅ Test(id: "node-addon-api/object/object_freeze_seal")
✅ Test(id: "node-addon-api/object/object")
✅ Test(id: "node-addon-api/object/set_property")
✅ Test(id: "node-addon-api/object/subscript_operator")
✅ Test(id: "node-addon-api/testUtil")

✅ Microsoft.JavaScript.NodeApi.Test.NodejsEmbeddingTests

⚪ CallFunction
⚪ ErrorPropagation
⚪ ImportBuiltinModule
⚪ ImportCommonJSModule
⚪ ImportCommonJSPackage
⚪ ImportESModule
⚪ ImportESPackage
⚪ MarshalClass
⚪ RestartEnvironment
⚪ StartEnvironment
⚪ UnhandledRejection

✅ Microsoft.JavaScript.NodeApi.Test.TypeDefsGeneratorTests

✅ GenerateEnum
✅ GenerateExtensionMethods
✅ GenerateGenericClass
✅ GenerateGenericDelegate
✅ GenerateGenericInterface
✅ GenerateJSDocLink
✅ GenerateSimpleClass
✅ GenerateSimpleDelegate
✅ GenerateSimpleInterface
✅ GenerateSimpleMethod
✅ GenerateSimpleProperty

Annotations

Check failure on line 60 in test/HostedClrTests.cs

See this annotation in the file changed.

@github-actions github-actions / test results (windows-latest, net8.0, node18.x, Release)

Microsoft.JavaScript.NodeApi.Test.HostedClrTests ► Test(id: "napi-dotnet/async_methods")

Failed test found in:
  test/net8.0-node18.x-Release/runneradmin_fv-az980-697_2024-04-11_21_18_20.trx
Error:
  Assert.Fail(): Build failed. Check the log for details: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\napi-dotnet\net8.0\hosted-build.log
Raw output
Assert.Fail(): Build failed. Check the log for details: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\napi-dotnet\net8.0\hosted-build.log
   at Microsoft.JavaScript.NodeApi.Test.HostedClrTests.Test(String id) in D:\a\node-api-dotnet\node-api-dotnet\test\HostedClrTests.cs:line 60
   at InvokeStub_HostedClrTests.Test(Object, Span`1)
   at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)

Check failure on line 60 in test/HostedClrTests.cs

See this annotation in the file changed.

@github-actions github-actions / test results (windows-latest, net8.0, node18.x, Release)

Microsoft.JavaScript.NodeApi.Test.HostedClrTests ► Test(id: "napi-dotnet/complex_types")

Failed test found in:
  test/net8.0-node18.x-Release/runneradmin_fv-az980-697_2024-04-11_21_18_20.trx
Error:
  Assert.Fail(): Build failed. Check the log for details: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\napi-dotnet\net8.0\hosted-build.log
Raw output
Assert.Fail(): Build failed. Check the log for details: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\napi-dotnet\net8.0\hosted-build.log
   at Microsoft.JavaScript.NodeApi.Test.HostedClrTests.Test(String id) in D:\a\node-api-dotnet\node-api-dotnet\test\HostedClrTests.cs:line 60
   at InvokeStub_HostedClrTests.Test(Object, Span`1)
   at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)

Check failure on line 60 in test/HostedClrTests.cs

See this annotation in the file changed.

@github-actions github-actions / test results (windows-latest, net8.0, node18.x, Release)

Microsoft.JavaScript.NodeApi.Test.HostedClrTests ► Test(id: "napi-dotnet/delegates")

Failed test found in:
  test/net8.0-node18.x-Release/runneradmin_fv-az980-697_2024-04-11_21_18_20.trx
Error:
  Assert.Fail(): Build failed. Check the log for details: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\napi-dotnet\net8.0\hosted-build.log
Raw output
Assert.Fail(): Build failed. Check the log for details: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\napi-dotnet\net8.0\hosted-build.log
   at Microsoft.JavaScript.NodeApi.Test.HostedClrTests.Test(String id) in D:\a\node-api-dotnet\node-api-dotnet\test\HostedClrTests.cs:line 60
   at InvokeStub_HostedClrTests.Test(Object, Span`1)
   at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)

Check failure on line 60 in test/HostedClrTests.cs

See this annotation in the file changed.

@github-actions github-actions / test results (windows-latest, net8.0, node18.x, Release)

Microsoft.JavaScript.NodeApi.Test.HostedClrTests ► Test(id: "napi-dotnet/dynamic_extensions")

Failed test found in:
  test/net8.0-node18.x-Release/runneradmin_fv-az980-697_2024-04-11_21_18_20.trx
Error:
  Assert.Fail(): Build failed. Check the log for details: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\napi-dotnet\net8.0\hosted-build.log
Raw output
Assert.Fail(): Build failed. Check the log for details: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\napi-dotnet\net8.0\hosted-build.log
   at Microsoft.JavaScript.NodeApi.Test.HostedClrTests.Test(String id) in D:\a\node-api-dotnet\node-api-dotnet\test\HostedClrTests.cs:line 60
   at InvokeStub_HostedClrTests.Test(Object, Span`1)
   at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)

Check failure on line 60 in test/HostedClrTests.cs

See this annotation in the file changed.

@github-actions github-actions / test results (windows-latest, net8.0, node18.x, Release)

Microsoft.JavaScript.NodeApi.Test.HostedClrTests ► Test(id: "napi-dotnet/dynamic_generics")

Failed test found in:
  test/net8.0-node18.x-Release/runneradmin_fv-az980-697_2024-04-11_21_18_20.trx
Error:
  Assert.Fail(): Build failed. Check the log for details: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\napi-dotnet\net8.0\hosted-build.log
Raw output
Assert.Fail(): Build failed. Check the log for details: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\napi-dotnet\net8.0\hosted-build.log
   at Microsoft.JavaScript.NodeApi.Test.HostedClrTests.Test(String id) in D:\a\node-api-dotnet\node-api-dotnet\test\HostedClrTests.cs:line 60
   at InvokeStub_HostedClrTests.Test(Object, Span`1)
   at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)

Check failure on line 60 in test/HostedClrTests.cs

See this annotation in the file changed.

@github-actions github-actions / test results (windows-latest, net8.0, node18.x, Release)

Microsoft.JavaScript.NodeApi.Test.HostedClrTests ► Test(id: "napi-dotnet/dynamic_invoke")

Failed test found in:
  test/net8.0-node18.x-Release/runneradmin_fv-az980-697_2024-04-11_21_18_20.trx
Error:
  Assert.Fail(): Build failed. Check the log for details: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\napi-dotnet\net8.0\hosted-build.log
Raw output
Assert.Fail(): Build failed. Check the log for details: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\napi-dotnet\net8.0\hosted-build.log
   at Microsoft.JavaScript.NodeApi.Test.HostedClrTests.Test(String id) in D:\a\node-api-dotnet\node-api-dotnet\test\HostedClrTests.cs:line 60
   at InvokeStub_HostedClrTests.Test(Object, Span`1)
   at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)

Check failure on line 60 in test/HostedClrTests.cs

See this annotation in the file changed.

@github-actions github-actions / test results (windows-latest, net8.0, node18.x, Release)

Microsoft.JavaScript.NodeApi.Test.HostedClrTests ► Test(id: "napi-dotnet/dynamic_no_namespace_type")

Failed test found in:
  test/net8.0-node18.x-Release/runneradmin_fv-az980-697_2024-04-11_21_18_20.trx
Error:
  Assert.Fail(): Build failed. Check the log for details: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\napi-dotnet\net8.0\hosted-build.log
Raw output
Assert.Fail(): Build failed. Check the log for details: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\napi-dotnet\net8.0\hosted-build.log
   at Microsoft.JavaScript.NodeApi.Test.HostedClrTests.Test(String id) in D:\a\node-api-dotnet\node-api-dotnet\test\HostedClrTests.cs:line 60
   at InvokeStub_HostedClrTests.Test(Object, Span`1)
   at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)

Check failure on line 230 in test/TestBuilder.cs

See this annotation in the file changed.

@github-actions github-actions / test results (windows-latest, net8.0, node18.x, Release)

Microsoft.JavaScript.NodeApi.Test.HostedClrTests ► Test(id: "napi-dotnet/dynamic_optional_params")

Failed test found in:
  test/net8.0-node18.x-Release/runneradmin_fv-az980-697_2024-04-11_21_18_20.trx
Error:
  Assert.Fail(): Build process exited with code: 1. Full output: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\napi-dotnet\net8.0\hosted-build.log
Raw output
Assert.Fail(): Build process exited with code: 1. Full output: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\napi-dotnet\net8.0\hosted-build.log
   at Microsoft.JavaScript.NodeApi.Test.TestBuilder.BuildProject(String projectFilePath, String target, IDictionary`2 properties, String logFilePath, Boolean noRestore, Boolean verboseLog) in D:\a\node-api-dotnet\node-api-dotnet\test\TestBuilder.cs:line 230
   at Microsoft.JavaScript.NodeApi.Test.HostedClrTests.BuildTestModuleCSharp(String moduleName, String logFilePath) in D:\a\node-api-dotnet\node-api-dotnet\test\HostedClrTests.cs:line 91
   at Microsoft.JavaScript.NodeApi.Test.HostedClrTests.Test(String id) in D:\a\node-api-dotnet\node-api-dotnet\test\HostedClrTests.cs:line 43
   at InvokeStub_HostedClrTests.Test(Object, Span`1)
   at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)

Check failure on line 60 in test/HostedClrTests.cs

See this annotation in the file changed.

@github-actions github-actions / test results (windows-latest, net8.0, node18.x, Release)

Microsoft.JavaScript.NodeApi.Test.HostedClrTests ► Test(id: "napi-dotnet/errors")

Failed test found in:
  test/net8.0-node18.x-Release/runneradmin_fv-az980-697_2024-04-11_21_18_20.trx
Error:
  Assert.Fail(): Build failed. Check the log for details: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\napi-dotnet\net8.0\hosted-build.log
Raw output
Assert.Fail(): Build failed. Check the log for details: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\napi-dotnet\net8.0\hosted-build.log
   at Microsoft.JavaScript.NodeApi.Test.HostedClrTests.Test(String id) in D:\a\node-api-dotnet\node-api-dotnet\test\HostedClrTests.cs:line 60
   at InvokeStub_HostedClrTests.Test(Object, Span`1)
   at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)

Check failure on line 60 in test/HostedClrTests.cs

See this annotation in the file changed.

@github-actions github-actions / test results (windows-latest, net8.0, node18.x, Release)

Microsoft.JavaScript.NodeApi.Test.HostedClrTests ► Test(id: "napi-dotnet/hello")

Failed test found in:
  test/net8.0-node18.x-Release/runneradmin_fv-az980-697_2024-04-11_21_18_20.trx
Error:
  Assert.Fail(): Build failed. Check the log for details: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\napi-dotnet\net8.0\hosted-build.log
Raw output
Assert.Fail(): Build failed. Check the log for details: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\napi-dotnet\net8.0\hosted-build.log
   at Microsoft.JavaScript.NodeApi.Test.HostedClrTests.Test(String id) in D:\a\node-api-dotnet\node-api-dotnet\test\HostedClrTests.cs:line 60
   at InvokeStub_HostedClrTests.Test(Object, Span`1)
   at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)

Check failure on line 60 in test/HostedClrTests.cs

See this annotation in the file changed.

@github-actions github-actions / test results (windows-latest, net8.0, node18.x, Release)

Microsoft.JavaScript.NodeApi.Test.HostedClrTests ► Test(id: "napi-dotnet/module_class")

Failed test found in:
  test/net8.0-node18.x-Release/runneradmin_fv-az980-697_2024-04-11_21_18_20.trx
Error:
  Assert.Fail(): Build failed. Check the log for details: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\napi-dotnet\net8.0\hosted-build.log
Raw output
Assert.Fail(): Build failed. Check the log for details: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\napi-dotnet\net8.0\hosted-build.log
   at Microsoft.JavaScript.NodeApi.Test.HostedClrTests.Test(String id) in D:\a\node-api-dotnet\node-api-dotnet\test\HostedClrTests.cs:line 60
   at InvokeStub_HostedClrTests.Test(Object, Span`1)
   at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)