The tool is generating in trx file with partial information, It always fill test method classname and name property as none which leads to incorrect publishing on vsts because these two fields are mandatory field to correctly identify a test method.
<TestMethod codeBase="out/test/api.test.js" className="none" name="none"/>
There is issue filed on azure-pipeline repo for this issue here is the link microsoft/azure-pipelines-tasks#10024