From de4e735916c57efb03cc74dd1b03c1dd9a1d3644 Mon Sep 17 00:00:00 2001 From: vishwach Date: Wed, 18 Nov 2026 20:48:58 +0530 Subject: [PATCH] MLE-29886: [node-client-api][polaris]NULL Pointer Dereference in optic-cts-param-test.js --- test-basic/optic-cts-param-test.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test-basic/optic-cts-param-test.js b/test-basic/optic-cts-param-test.js index 31619423..a7ad1628 100644 --- a/test-basic/optic-cts-param-test.js +++ b/test-basic/optic-cts-param-test.js @@ -285,7 +285,9 @@ describe('cts.param integration tests', function() { } const paramNode = findNode(exported, 'param'); - should.exist(paramNode, 'should find a param node in the exported plan'); + if (!paramNode) { + throw new Error('should find a param node in the exported plan'); + } should(paramNode.ns).equal('cts', 'param node should use ns:"cts" not ns:"op"'); });