Update to latest SK and fix issues #192
test results (macos-latest, node18.x, Release) ❌
Report | Passed | Failed | Skipped | Time |
---|---|---|---|---|
test/dotnet6-node18.x-Release/_Mac-1695456779840_2023-09-23_08_41_50.trx | 34✅ | 7❌ | 3⚪ | 118s |
test/dotnet8-node18.x-Release/_Mac-1695456779840_2023-09-23_08_43_39.trx | 59✅ | 7❌ | 3⚪ | 158s |
❌ test/dotnet6-node18.x-Release/_Mac-1695456779840_2023-09-23_08_41_50.trx
44 tests were completed in 118s with 34 passed, 7 failed and 3 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Microsoft.JavaScript.NodeApi.Test.HostedClrTests | 28✅ | 51s | ||
Microsoft.JavaScript.NodeApi.Test.JSProjectTests | 4❌ | 65s | ||
Microsoft.JavaScript.NodeApi.Test.NodejsEmbeddingTests | 3⚪ | 3ms | ||
Microsoft.JavaScript.NodeApi.Test.TypeDefsGeneratorTests | 6✅ | 3❌ | 44ms |
✅ 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: /Users/runner/work/node-api-dotnet/node-api-dotnet/out/obj/Release/TestCases/projects/net6.0/js-cjs-ts-build.log
❌ Test(id: "projects/js-esm/test")
Assert.Fail(): TS compile exited with code: 2. Full output: /Users/runner/work/node-api-dotnet/node-api-dotnet/out/obj/Release/TestCases/projects/net6.0/js-esm-ts-build.log
❌ Test(id: "projects/ts-cjs/test")
Assert.Fail(): TS compile exited with code: 2. Full output: /Users/runner/work/node-api-dotnet/node-api-dotnet/out/obj/Release/TestCases/projects/net6.0/ts-cjs-ts-build.log
❌ Test(id: "projects/ts-esm/test")
Assert.Fail(): TS compile exited with code: 2. Full output: /Users/runner/work/node-api-dotnet/node-api-dotnet/out/obj/Release/TestCases/projects/net6.0/ts-esm-ts-build.log
✅ Microsoft.JavaScript.NodeApi.Test.NodejsEmbeddingTests
⚪ NodejsErrorPropagation
⚪ NodejsStart
⚪ NodejsUnhandledRejection
❌ Microsoft.JavaScript.NodeApi.Test.TypeDefsGeneratorTests
✅ GenerateEnum
❌ GenerateGenericClass
Assert.Equal() Failure
↓ (pos 174)
Expected: ···nericClass$$1<T> {\n\t/** constructor */\n\tnew(value: T): Generi···
Actual: ···nericClass$$1<T> {\n\tnew(value: T): GenericClass$1<T>;\n\n\t/** s···
↑ (pos 174)
✅ GenerateGenericDelegate
❌ GenerateGenericInterface
Assert.Equal() Failure
↓ (pos 308)
Expected: ···\tTestProperty: T;\n\n\t/** instance-method */\n\tTestMethod(value:···
Actual: ···\tTestProperty: T;\n\n\tTestMethod(value: T): T;\n}
↑ (pos 308)
❌ GenerateSimpleClass
Assert.Equal() Failure
↓ (pos 39)
Expected: ···t class SimpleClass {\n\t/** constructor */\n\tconstructor();\n\n\t/···
Actual: ···t class SimpleClass implements unknown {\n\t/** constructor */\n···
↑ (pos 39)
✅ GenerateSimpleDelegate
✅ GenerateSimpleInterface
✅ GenerateSimpleMethod
✅ GenerateSimpleProperty
❌ test/dotnet8-node18.x-Release/_Mac-1695456779840_2023-09-23_08_43_39.trx
69 tests were completed in 158s with 59 passed, 7 failed and 3 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Microsoft.JavaScript.NodeApi.Test.HostedClrTests | 28✅ | 44s | ||
Microsoft.JavaScript.NodeApi.Test.JSProjectTests | 4❌ | 62s | ||
Microsoft.JavaScript.NodeApi.Test.NativeAotTests | 25✅ | 50s | ||
Microsoft.JavaScript.NodeApi.Test.NodejsEmbeddingTests | 3⚪ | 3ms | ||
Microsoft.JavaScript.NodeApi.Test.TypeDefsGeneratorTests | 6✅ | 3❌ | 36ms |
✅ 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: /Users/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: /Users/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: /Users/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: /Users/runner/work/node-api-dotnet/node-api-dotnet/out/obj/Release/TestCases/projects/net8.0/ts-esm-ts-build.log
✅ 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
⚪ NodejsErrorPropagation
⚪ NodejsStart
⚪ NodejsUnhandledRejection
❌ Microsoft.JavaScript.NodeApi.Test.TypeDefsGeneratorTests
✅ GenerateEnum
❌ GenerateGenericClass
Assert.Equal() Failure
↓ (pos 174)
Expected: ···nericClass$$1<T> {\n\t/** constructor */\n\tnew(value: T): Generi···
Actual: ···nericClass$$1<T> {\n\tnew(value: T): GenericClass$1<T>;\n\n\t/** s···
↑ (pos 174)
✅ GenerateGenericDelegate
❌ GenerateGenericInterface
Assert.Equal() Failure
↓ (pos 308)
Expected: ···\tTestProperty: T;\n\n\t/** instance-method */\n\tTestMethod(value:···
Actual: ···\tTestProperty: T;\n\n\tTestMethod(value: T): T;\n}
↑ (pos 308)
❌ GenerateSimpleClass
Assert.Equal() Failure
↓ (pos 39)
Expected: ···t class SimpleClass {\n\t/** constructor */\n\tconstructor();\n\n\t/···
Actual: ···t class SimpleClass implements unknown {\n\t/** constructor */\n···
↑ (pos 39)
✅ GenerateSimpleDelegate
✅ GenerateSimpleInterface
✅ GenerateSimpleMethod
✅ GenerateSimpleProperty
Annotations
Check failure on line 146 in test/JSProjectTests.cs
github-actions / test results (macos-latest, node18.x, Release)
Microsoft.JavaScript.NodeApi.Test.JSProjectTests ► Test(id: "projects/js-cjs/test")
Failed test found in:
test/dotnet6-node18.x-Release/_Mac-1695456779840_2023-09-23_08_41_50.trx
Error:
Assert.Fail(): TS compile exited with code: 2. Full output: /Users/runner/work/node-api-dotnet/node-api-dotnet/out/obj/Release/TestCases/projects/net6.0/js-cjs-ts-build.log
Raw output
Assert.Fail(): TS compile exited with code: 2. Full output: /Users/runner/work/node-api-dotnet/node-api-dotnet/out/obj/Release/TestCases/projects/net6.0/js-cjs-ts-build.log
at Microsoft.JavaScript.NodeApi.Test.JSProjectTests.BuildTestProjectTypeScript(String projectName, String logFilePath) in /Users/runner/work/node-api-dotnet/node-api-dotnet/test/JSProjectTests.cs:line 146
at Microsoft.JavaScript.NodeApi.Test.JSProjectTests.Test(String id) in /Users/runner/work/node-api-dotnet/node-api-dotnet/test/JSProjectTests.cs:line 40
Check failure on line 146 in test/JSProjectTests.cs
github-actions / test results (macos-latest, node18.x, Release)
Microsoft.JavaScript.NodeApi.Test.JSProjectTests ► Test(id: "projects/js-esm/test")
Failed test found in:
test/dotnet6-node18.x-Release/_Mac-1695456779840_2023-09-23_08_41_50.trx
Error:
Assert.Fail(): TS compile exited with code: 2. Full output: /Users/runner/work/node-api-dotnet/node-api-dotnet/out/obj/Release/TestCases/projects/net6.0/js-esm-ts-build.log
Raw output
Assert.Fail(): TS compile exited with code: 2. Full output: /Users/runner/work/node-api-dotnet/node-api-dotnet/out/obj/Release/TestCases/projects/net6.0/js-esm-ts-build.log
at Microsoft.JavaScript.NodeApi.Test.JSProjectTests.BuildTestProjectTypeScript(String projectName, String logFilePath) in /Users/runner/work/node-api-dotnet/node-api-dotnet/test/JSProjectTests.cs:line 146
at Microsoft.JavaScript.NodeApi.Test.JSProjectTests.Test(String id) in /Users/runner/work/node-api-dotnet/node-api-dotnet/test/JSProjectTests.cs:line 40
Check failure on line 146 in test/JSProjectTests.cs
github-actions / test results (macos-latest, node18.x, Release)
Microsoft.JavaScript.NodeApi.Test.JSProjectTests ► Test(id: "projects/ts-cjs/test")
Failed test found in:
test/dotnet6-node18.x-Release/_Mac-1695456779840_2023-09-23_08_41_50.trx
Error:
Assert.Fail(): TS compile exited with code: 2. Full output: /Users/runner/work/node-api-dotnet/node-api-dotnet/out/obj/Release/TestCases/projects/net6.0/ts-cjs-ts-build.log
Raw output
Assert.Fail(): TS compile exited with code: 2. Full output: /Users/runner/work/node-api-dotnet/node-api-dotnet/out/obj/Release/TestCases/projects/net6.0/ts-cjs-ts-build.log
at Microsoft.JavaScript.NodeApi.Test.JSProjectTests.BuildTestProjectTypeScript(String projectName, String logFilePath) in /Users/runner/work/node-api-dotnet/node-api-dotnet/test/JSProjectTests.cs:line 146
at Microsoft.JavaScript.NodeApi.Test.JSProjectTests.Test(String id) in /Users/runner/work/node-api-dotnet/node-api-dotnet/test/JSProjectTests.cs:line 40
Check failure on line 146 in test/JSProjectTests.cs
github-actions / test results (macos-latest, node18.x, Release)
Microsoft.JavaScript.NodeApi.Test.JSProjectTests ► Test(id: "projects/ts-esm/test")
Failed test found in:
test/dotnet6-node18.x-Release/_Mac-1695456779840_2023-09-23_08_41_50.trx
Error:
Assert.Fail(): TS compile exited with code: 2. Full output: /Users/runner/work/node-api-dotnet/node-api-dotnet/out/obj/Release/TestCases/projects/net6.0/ts-esm-ts-build.log
Raw output
Assert.Fail(): TS compile exited with code: 2. Full output: /Users/runner/work/node-api-dotnet/node-api-dotnet/out/obj/Release/TestCases/projects/net6.0/ts-esm-ts-build.log
at Microsoft.JavaScript.NodeApi.Test.JSProjectTests.BuildTestProjectTypeScript(String projectName, String logFilePath) in /Users/runner/work/node-api-dotnet/node-api-dotnet/test/JSProjectTests.cs:line 146
at Microsoft.JavaScript.NodeApi.Test.JSProjectTests.Test(String id) in /Users/runner/work/node-api-dotnet/node-api-dotnet/test/JSProjectTests.cs:line 40
Check failure on line 200 in test/TypeDefsGeneratorTests.cs
github-actions / test results (macos-latest, node18.x, Release)
Microsoft.JavaScript.NodeApi.Test.TypeDefsGeneratorTests ► GenerateGenericClass
Failed test found in:
test/dotnet6-node18.x-Release/_Mac-1695456779840_2023-09-23_08_41_50.trx
Error:
Assert.Equal() Failure
↓ (pos 174)
Expected: ···nericClass$$1<T> {\n\t/** constructor */\n\tnew(value: T): Generi···
Actual: ···nericClass$$1<T> {\n\tnew(value: T): GenericClass$1<T>;\n\n\t/** s···
↑ (pos 174)
Raw output
Assert.Equal() Failure
↓ (pos 174)
Expected: ···nericClass$$1<T> {\n\t/** constructor */\n\tnew(value: T): Generi···
Actual: ···nericClass$$1<T> {\n\tnew(value: T): GenericClass$1<T>;\n\n\t/** s···
↑ (pos 174)
at Microsoft.JavaScript.NodeApi.Test.TypeDefsGeneratorTests.GenerateGenericClass() in /Users/runner/work/node-api-dotnet/node-api-dotnet/test/TypeDefsGeneratorTests.cs:line 200
Check failure on line 164 in test/TypeDefsGeneratorTests.cs
github-actions / test results (macos-latest, node18.x, Release)
Microsoft.JavaScript.NodeApi.Test.TypeDefsGeneratorTests ► GenerateGenericInterface
Failed test found in:
test/dotnet6-node18.x-Release/_Mac-1695456779840_2023-09-23_08_41_50.trx
Error:
Assert.Equal() Failure
↓ (pos 308)
Expected: ···\tTestProperty: T;\n\n\t/** instance-method */\n\tTestMethod(value:···
Actual: ···\tTestProperty: T;\n\n\tTestMethod(value: T): T;\n}
↑ (pos 308)
Raw output
Assert.Equal() Failure
↓ (pos 308)
Expected: ···\tTestProperty: T;\n\n\t/** instance-method */\n\tTestMethod(value:···
Actual: ···\tTestProperty: T;\n\n\tTestMethod(value: T): T;\n}
↑ (pos 308)
at Microsoft.JavaScript.NodeApi.Test.TypeDefsGeneratorTests.GenerateGenericInterface() in /Users/runner/work/node-api-dotnet/node-api-dotnet/test/TypeDefsGeneratorTests.cs:line 164
Check failure on line 76 in test/TypeDefsGeneratorTests.cs
github-actions / test results (macos-latest, node18.x, Release)
Microsoft.JavaScript.NodeApi.Test.TypeDefsGeneratorTests ► GenerateSimpleClass
Failed test found in:
test/dotnet6-node18.x-Release/_Mac-1695456779840_2023-09-23_08_41_50.trx
Error:
Assert.Equal() Failure
↓ (pos 39)
Expected: ···t class SimpleClass {\n\t/** constructor */\n\tconstructor();\n\n\t/···
Actual: ···t class SimpleClass implements unknown {\n\t/** constructor */\n···
↑ (pos 39)
Raw output
Assert.Equal() Failure
↓ (pos 39)
Expected: ···t class SimpleClass {\n\t/** constructor */\n\tconstructor();\n\n\t/···
Actual: ···t class SimpleClass implements unknown {\n\t/** constructor */\n···
↑ (pos 39)
at Microsoft.JavaScript.NodeApi.Test.TypeDefsGeneratorTests.GenerateSimpleClass() in /Users/runner/work/node-api-dotnet/node-api-dotnet/test/TypeDefsGeneratorTests.cs:line 76
Check failure on line 146 in test/JSProjectTests.cs
github-actions / test results (macos-latest, node18.x, Release)
Microsoft.JavaScript.NodeApi.Test.JSProjectTests ► Test(id: "projects/js-cjs/test")
Failed test found in:
test/dotnet8-node18.x-Release/_Mac-1695456779840_2023-09-23_08_43_39.trx
Error:
Assert.Fail(): TS compile exited with code: 2. Full output: /Users/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: /Users/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 /Users/runner/work/node-api-dotnet/node-api-dotnet/test/JSProjectTests.cs:line 146
at Microsoft.JavaScript.NodeApi.Test.JSProjectTests.Test(String id) in /Users/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 (macos-latest, node18.x, Release)
Microsoft.JavaScript.NodeApi.Test.JSProjectTests ► Test(id: "projects/js-esm/test")
Failed test found in:
test/dotnet8-node18.x-Release/_Mac-1695456779840_2023-09-23_08_43_39.trx
Error:
Assert.Fail(): TS compile exited with code: 2. Full output: /Users/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: /Users/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 /Users/runner/work/node-api-dotnet/node-api-dotnet/test/JSProjectTests.cs:line 146
at Microsoft.JavaScript.NodeApi.Test.JSProjectTests.Test(String id) in /Users/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 (macos-latest, node18.x, Release)
Microsoft.JavaScript.NodeApi.Test.JSProjectTests ► Test(id: "projects/ts-cjs/test")
Failed test found in:
test/dotnet8-node18.x-Release/_Mac-1695456779840_2023-09-23_08_43_39.trx
Error:
Assert.Fail(): TS compile exited with code: 2. Full output: /Users/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: /Users/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 /Users/runner/work/node-api-dotnet/node-api-dotnet/test/JSProjectTests.cs:line 146
at Microsoft.JavaScript.NodeApi.Test.JSProjectTests.Test(String id) in /Users/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 (macos-latest, node18.x, Release)
Microsoft.JavaScript.NodeApi.Test.JSProjectTests ► Test(id: "projects/ts-esm/test")
Failed test found in:
test/dotnet8-node18.x-Release/_Mac-1695456779840_2023-09-23_08_43_39.trx
Error:
Assert.Fail(): TS compile exited with code: 2. Full output: /Users/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: /Users/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 /Users/runner/work/node-api-dotnet/node-api-dotnet/test/JSProjectTests.cs:line 146
at Microsoft.JavaScript.NodeApi.Test.JSProjectTests.Test(String id) in /Users/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)