Skip to content

Merge branch 'development' into enhc/DX-5736 #5

Merge branch 'development' into enhc/DX-5736

Merge branch 'development' into enhc/DX-5736 #5

Triggered via push March 31, 2026 13:16
Status Success
Total duration 55s
Artifacts

unit-test.yml

on: push
unit-test
49s
unit-test
Fit to window
Zoom out
Zoom in

Annotations

5 warnings
unit-test
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4.2.2, actions/setup-dotnet@v4.3.0. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
unit-test: Contentstack.Utils.Tests/MetadataTest.cs#L115
Do not use Assert.Equal() to check for collection size. Use Assert.Empty instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
unit-test: Contentstack.Utils.Tests/HtmlDocumentExtensionTest.cs#L39
Do not use Assert.True(false, message) to fail a test. Use Assert.Fail(message) instead. (https://xunit.net/xunit.analyzers/rules/xUnit2020)
unit-test: Contentstack.Utils.Tests/HtmlDocumentExtensionTest.cs#L29
Do not use Assert.True(false, message) to fail a test. Use Assert.Fail(message) instead. (https://xunit.net/xunit.analyzers/rules/xUnit2020)
unit-test: Contentstack.Utils.Tests/HtmlDocumentExtensionTest.cs#L19
Do not use Assert.True(false, message) to fail a test. Use Assert.Fail(message) instead. (https://xunit.net/xunit.analyzers/rules/xUnit2020)