Update example to SK 1.1, fix TS generator and marshaller bugs #253
test results (ubuntu-latest, node18.x, Release) ❌
Report | Passed | Failed | Skipped | Time |
---|---|---|---|---|
test/dotnet6-node18.x-Release/_fv-az1153-664_2024-01-19_20_24_31.trx | 62✅ | 2❌ | 5⚪ | 75s |
test/dotnet8-node18.x-Release/_fv-az1153-664_2024-01-19_20_25_49.trx | 83✅ | 6❌ | 5⚪ | 95s |
❌ test/dotnet6-node18.x-Release/_fv-az1153-664_2024-01-19_20_24_31.trx
69 tests were completed in 75s with 62 passed, 2 failed and 5 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Microsoft.JavaScript.NodeApi.Test.GCTests | 1⚪ | 1ms | ||
Microsoft.JavaScript.NodeApi.Test.HostedClrTests | 28✅ | 27s | ||
Microsoft.JavaScript.NodeApi.Test.JSProjectTests | 4✅ | 44s | ||
Microsoft.JavaScript.NodeApi.Test.JSReferenceTests | 4✅ | 10ms | ||
Microsoft.JavaScript.NodeApi.Test.JSValueScopeTests | 19✅ | 16ms | ||
Microsoft.JavaScript.NodeApi.Test.NodejsEmbeddingTests | 4⚪ | 4ms | ||
Microsoft.JavaScript.NodeApi.Test.TypeDefsGeneratorTests | 7✅ | 2❌ | 54ms |
✅ Microsoft.JavaScript.NodeApi.Test.GCTests
⚪ GCTest
✅ 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")
✅ Test(id: "napi-dotnet/complex_types")
✅ Test(id: "napi-dotnet/delegates")
✅ Test(id: "napi-dotnet/dynamic_generics")
✅ Test(id: "napi-dotnet/dynamic_invoke")
✅ Test(id: "napi-dotnet/dynamic_optional_params")
✅ Test(id: "napi-dotnet/errors")
✅ Test(id: "napi-dotnet/hello")
✅ Test(id: "napi-dotnet/module_class")
✅ Test(id: "napi-dotnet/multi_instance")
✅ Test(id: "napi-dotnet/streams")
✅ 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/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/test")
✅ Test(id: "projects/js-esm/test")
✅ Test(id: "projects/ts-cjs/test")
✅ Test(id: "projects/ts-esm/test")
✅ 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.NodejsEmbeddingTests
⚪ NodejsCallFunction
⚪ NodejsErrorPropagation
⚪ NodejsStart
⚪ NodejsUnhandledRejection
❌ Microsoft.JavaScript.NodeApi.Test.TypeDefsGeneratorTests
✅ GenerateEnum
❌ GenerateGenericClass
Assert.Equal() Failure
↓ (pos 178)
Expected: ···cClass$$1<T> {\n\t/** constructor */\n\tnew(value: T): GenericCla···
Actual: ···cClass$$1<T> {\n\t/** static-property */\n\tTestStaticProperty: T···
↑ (pos 178)
✅ GenerateGenericDelegate
✅ GenerateGenericInterface
❌ GenerateSimpleClass
Assert.Equal() Failure
↓ (pos 46)
Expected: ··· SimpleClass {\n\t/** constructor */\n\tconstructor();\n\n\t/** prop···
Actual: ··· SimpleClass {\n\t/** property */\n\tTestProperty: string;\n\n\t/** ···
↑ (pos 46)
✅ GenerateSimpleDelegate
✅ GenerateSimpleInterface
✅ GenerateSimpleMethod
✅ GenerateSimpleProperty
❌ test/dotnet8-node18.x-Release/_fv-az1153-664_2024-01-19_20_25_49.trx
94 tests were completed in 95s with 83 passed, 6 failed and 5 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Microsoft.JavaScript.NodeApi.Test.GCTests | 1⚪ | 1ms | ||
Microsoft.JavaScript.NodeApi.Test.HostedClrTests | 28✅ | 23s | ||
Microsoft.JavaScript.NodeApi.Test.JSProjectTests | 4❌ | 44s | ||
Microsoft.JavaScript.NodeApi.Test.JSReferenceTests | 4✅ | 4ms | ||
Microsoft.JavaScript.NodeApi.Test.JSValueScopeTests | 19✅ | 27ms | ||
Microsoft.JavaScript.NodeApi.Test.NativeAotTests | 25✅ | 26s | ||
Microsoft.JavaScript.NodeApi.Test.NodejsEmbeddingTests | 4⚪ | 4ms | ||
Microsoft.JavaScript.NodeApi.Test.TypeDefsGeneratorTests | 7✅ | 2❌ | 19ms |
✅ Microsoft.JavaScript.NodeApi.Test.GCTests
⚪ GCTest
✅ 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")
✅ Test(id: "napi-dotnet/complex_types")
✅ Test(id: "napi-dotnet/delegates")
✅ Test(id: "napi-dotnet/dynamic_generics")
✅ Test(id: "napi-dotnet/dynamic_invoke")
✅ Test(id: "napi-dotnet/dynamic_optional_params")
✅ Test(id: "napi-dotnet/errors")
✅ Test(id: "napi-dotnet/hello")
✅ Test(id: "napi-dotnet/module_class")
✅ Test(id: "napi-dotnet/multi_instance")
✅ Test(id: "napi-dotnet/streams")
✅ 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/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/test")
Assert.Fail(): TS compile exited with code: 2. Full output: /home/runner/work/node-api-dotnet/node-api-dotnet/out/obj/Release/TestCases/projects/net8.0/js-cjs-ts-build.log
❌ Test(id: "projects/js-esm/test")
Assert.Fail(): TS compile exited with code: 2. Full output: /home/runner/work/node-api-dotnet/node-api-dotnet/out/obj/Release/TestCases/projects/net8.0/js-esm-ts-build.log
❌ Test(id: "projects/ts-cjs/test")
Assert.Fail(): TS compile exited with code: 2. Full output: /home/runner/work/node-api-dotnet/node-api-dotnet/out/obj/Release/TestCases/projects/net8.0/ts-cjs-ts-build.log
❌ Test(id: "projects/ts-esm/test")
Assert.Fail(): TS compile exited with code: 2. Full output: /home/runner/work/node-api-dotnet/node-api-dotnet/out/obj/Release/TestCases/projects/net8.0/ts-esm-ts-build.log
✅ 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")
✅ Test(id: "napi-dotnet/complex_types")
✅ Test(id: "napi-dotnet/delegates")
✅ Test(id: "napi-dotnet/errors")
✅ Test(id: "napi-dotnet/hello")
✅ Test(id: "napi-dotnet/module_class")
✅ Test(id: "napi-dotnet/multi_instance")
✅ Test(id: "napi-dotnet/streams")
✅ 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/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
⚪ NodejsCallFunction
⚪ NodejsErrorPropagation
⚪ NodejsStart
⚪ NodejsUnhandledRejection
❌ Microsoft.JavaScript.NodeApi.Test.TypeDefsGeneratorTests
✅ GenerateEnum
❌ GenerateGenericClass
Assert.Equal() Failure
↓ (pos 178)
Expected: ···cClass$$1<T> {\n\t/** constructor */\n\tnew(value: T): GenericCla···
Actual: ···cClass$$1<T> {\n\t/** static-property */\n\tTestStaticProperty: T···
↑ (pos 178)
✅ GenerateGenericDelegate
✅ GenerateGenericInterface
❌ GenerateSimpleClass
Assert.Equal() Failure
↓ (pos 46)
Expected: ··· SimpleClass {\n\t/** constructor */\n\tconstructor();\n\n\t/** prop···
Actual: ··· SimpleClass {\n\t/** property */\n\tTestProperty: string;\n\n\t/** ···
↑ (pos 46)
✅ GenerateSimpleDelegate
✅ GenerateSimpleInterface
✅ GenerateSimpleMethod
✅ GenerateSimpleProperty
Annotations
Check failure on line 210 in test/TypeDefsGeneratorTests.cs
github-actions / test results (ubuntu-latest, node18.x, Release)
Microsoft.JavaScript.NodeApi.Test.TypeDefsGeneratorTests ► GenerateGenericClass
Failed test found in:
test/dotnet6-node18.x-Release/_fv-az1153-664_2024-01-19_20_24_31.trx
Error:
Assert.Equal() Failure
↓ (pos 178)
Expected: ···cClass$$1<T> {\n\t/** constructor */\n\tnew(value: T): GenericCla···
Actual: ···cClass$$1<T> {\n\t/** static-property */\n\tTestStaticProperty: T···
↑ (pos 178)
Raw output
Assert.Equal() Failure
↓ (pos 178)
Expected: ···cClass$$1<T> {\n\t/** constructor */\n\tnew(value: T): GenericCla···
Actual: ···cClass$$1<T> {\n\t/** static-property */\n\tTestStaticProperty: T···
↑ (pos 178)
at Microsoft.JavaScript.NodeApi.Test.TypeDefsGeneratorTests.GenerateGenericClass() in /home/runner/work/node-api-dotnet/node-api-dotnet/test/TypeDefsGeneratorTests.cs:line 210
Check failure on line 78 in test/TypeDefsGeneratorTests.cs
github-actions / test results (ubuntu-latest, node18.x, Release)
Microsoft.JavaScript.NodeApi.Test.TypeDefsGeneratorTests ► GenerateSimpleClass
Failed test found in:
test/dotnet6-node18.x-Release/_fv-az1153-664_2024-01-19_20_24_31.trx
Error:
Assert.Equal() Failure
↓ (pos 46)
Expected: ··· SimpleClass {\n\t/** constructor */\n\tconstructor();\n\n\t/** prop···
Actual: ··· SimpleClass {\n\t/** property */\n\tTestProperty: string;\n\n\t/** ···
↑ (pos 46)
Raw output
Assert.Equal() Failure
↓ (pos 46)
Expected: ··· SimpleClass {\n\t/** constructor */\n\tconstructor();\n\n\t/** prop···
Actual: ··· SimpleClass {\n\t/** property */\n\tTestProperty: string;\n\n\t/** ···
↑ (pos 46)
at Microsoft.JavaScript.NodeApi.Test.TypeDefsGeneratorTests.GenerateSimpleClass() in /home/runner/work/node-api-dotnet/node-api-dotnet/test/TypeDefsGeneratorTests.cs:line 78
Check failure on line 146 in test/JSProjectTests.cs
github-actions / test results (ubuntu-latest, node18.x, Release)
Microsoft.JavaScript.NodeApi.Test.JSProjectTests ► Test(id: "projects/js-cjs/test")
Failed test found in:
test/dotnet8-node18.x-Release/_fv-az1153-664_2024-01-19_20_25_49.trx
Error:
Assert.Fail(): TS compile exited with code: 2. Full output: /home/runner/work/node-api-dotnet/node-api-dotnet/out/obj/Release/TestCases/projects/net8.0/js-cjs-ts-build.log
Raw output
Assert.Fail(): TS compile exited with code: 2. Full output: /home/runner/work/node-api-dotnet/node-api-dotnet/out/obj/Release/TestCases/projects/net8.0/js-cjs-ts-build.log
at Microsoft.JavaScript.NodeApi.Test.JSProjectTests.BuildTestProjectTypeScript(String projectName, String logFilePath) in /home/runner/work/node-api-dotnet/node-api-dotnet/test/JSProjectTests.cs:line 146
at Microsoft.JavaScript.NodeApi.Test.JSProjectTests.Test(String id) in /home/runner/work/node-api-dotnet/node-api-dotnet/test/JSProjectTests.cs:line 40
at InvokeStub_JSProjectTests.Test(Object, Span`1)
at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
Check failure on line 146 in test/JSProjectTests.cs
github-actions / test results (ubuntu-latest, node18.x, Release)
Microsoft.JavaScript.NodeApi.Test.JSProjectTests ► Test(id: "projects/js-esm/test")
Failed test found in:
test/dotnet8-node18.x-Release/_fv-az1153-664_2024-01-19_20_25_49.trx
Error:
Assert.Fail(): TS compile exited with code: 2. Full output: /home/runner/work/node-api-dotnet/node-api-dotnet/out/obj/Release/TestCases/projects/net8.0/js-esm-ts-build.log
Raw output
Assert.Fail(): TS compile exited with code: 2. Full output: /home/runner/work/node-api-dotnet/node-api-dotnet/out/obj/Release/TestCases/projects/net8.0/js-esm-ts-build.log
at Microsoft.JavaScript.NodeApi.Test.JSProjectTests.BuildTestProjectTypeScript(String projectName, String logFilePath) in /home/runner/work/node-api-dotnet/node-api-dotnet/test/JSProjectTests.cs:line 146
at Microsoft.JavaScript.NodeApi.Test.JSProjectTests.Test(String id) in /home/runner/work/node-api-dotnet/node-api-dotnet/test/JSProjectTests.cs:line 40
at InvokeStub_JSProjectTests.Test(Object, Span`1)
at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
Check failure on line 146 in test/JSProjectTests.cs
github-actions / test results (ubuntu-latest, node18.x, Release)
Microsoft.JavaScript.NodeApi.Test.JSProjectTests ► Test(id: "projects/ts-cjs/test")
Failed test found in:
test/dotnet8-node18.x-Release/_fv-az1153-664_2024-01-19_20_25_49.trx
Error:
Assert.Fail(): TS compile exited with code: 2. Full output: /home/runner/work/node-api-dotnet/node-api-dotnet/out/obj/Release/TestCases/projects/net8.0/ts-cjs-ts-build.log
Raw output
Assert.Fail(): TS compile exited with code: 2. Full output: /home/runner/work/node-api-dotnet/node-api-dotnet/out/obj/Release/TestCases/projects/net8.0/ts-cjs-ts-build.log
at Microsoft.JavaScript.NodeApi.Test.JSProjectTests.BuildTestProjectTypeScript(String projectName, String logFilePath) in /home/runner/work/node-api-dotnet/node-api-dotnet/test/JSProjectTests.cs:line 146
at Microsoft.JavaScript.NodeApi.Test.JSProjectTests.Test(String id) in /home/runner/work/node-api-dotnet/node-api-dotnet/test/JSProjectTests.cs:line 40
at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)
Check failure on line 146 in test/JSProjectTests.cs
github-actions / test results (ubuntu-latest, node18.x, Release)
Microsoft.JavaScript.NodeApi.Test.JSProjectTests ► Test(id: "projects/ts-esm/test")
Failed test found in:
test/dotnet8-node18.x-Release/_fv-az1153-664_2024-01-19_20_25_49.trx
Error:
Assert.Fail(): TS compile exited with code: 2. Full output: /home/runner/work/node-api-dotnet/node-api-dotnet/out/obj/Release/TestCases/projects/net8.0/ts-esm-ts-build.log
Raw output
Assert.Fail(): TS compile exited with code: 2. Full output: /home/runner/work/node-api-dotnet/node-api-dotnet/out/obj/Release/TestCases/projects/net8.0/ts-esm-ts-build.log
at Microsoft.JavaScript.NodeApi.Test.JSProjectTests.BuildTestProjectTypeScript(String projectName, String logFilePath) in /home/runner/work/node-api-dotnet/node-api-dotnet/test/JSProjectTests.cs:line 146
at Microsoft.JavaScript.NodeApi.Test.JSProjectTests.Test(String id) in /home/runner/work/node-api-dotnet/node-api-dotnet/test/JSProjectTests.cs:line 40
at InvokeStub_JSProjectTests.Test(Object, Span`1)
at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
Check failure on line 210 in test/TypeDefsGeneratorTests.cs
github-actions / test results (ubuntu-latest, node18.x, Release)
Microsoft.JavaScript.NodeApi.Test.TypeDefsGeneratorTests ► GenerateGenericClass
Failed test found in:
test/dotnet8-node18.x-Release/_fv-az1153-664_2024-01-19_20_25_49.trx
Error:
Assert.Equal() Failure
↓ (pos 178)
Expected: ···cClass$$1<T> {\n\t/** constructor */\n\tnew(value: T): GenericCla···
Actual: ···cClass$$1<T> {\n\t/** static-property */\n\tTestStaticProperty: T···
↑ (pos 178)
Raw output
Assert.Equal() Failure
↓ (pos 178)
Expected: ···cClass$$1<T> {\n\t/** constructor */\n\tnew(value: T): GenericCla···
Actual: ···cClass$$1<T> {\n\t/** static-property */\n\tTestStaticProperty: T···
↑ (pos 178)
at Microsoft.JavaScript.NodeApi.Test.TypeDefsGeneratorTests.GenerateGenericClass() in /home/runner/work/node-api-dotnet/node-api-dotnet/test/TypeDefsGeneratorTests.cs:line 210
at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
Check failure on line 78 in test/TypeDefsGeneratorTests.cs
github-actions / test results (ubuntu-latest, node18.x, Release)
Microsoft.JavaScript.NodeApi.Test.TypeDefsGeneratorTests ► GenerateSimpleClass
Failed test found in:
test/dotnet8-node18.x-Release/_fv-az1153-664_2024-01-19_20_25_49.trx
Error:
Assert.Equal() Failure
↓ (pos 46)
Expected: ··· SimpleClass {\n\t/** constructor */\n\tconstructor();\n\n\t/** prop···
Actual: ··· SimpleClass {\n\t/** property */\n\tTestProperty: string;\n\n\t/** ···
↑ (pos 46)
Raw output
Assert.Equal() Failure
↓ (pos 46)
Expected: ··· SimpleClass {\n\t/** constructor */\n\tconstructor();\n\n\t/** prop···
Actual: ··· SimpleClass {\n\t/** property */\n\tTestProperty: string;\n\n\t/** ···
↑ (pos 46)
at Microsoft.JavaScript.NodeApi.Test.TypeDefsGeneratorTests.GenerateSimpleClass() in /home/runner/work/node-api-dotnet/node-api-dotnet/test/TypeDefsGeneratorTests.cs:line 78
at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)