From c54a6962eabf5bdc58006cfac751fb5653baa9c4 Mon Sep 17 00:00:00 2001 From: Willie Ruemmele Date: Wed, 3 Apr 2024 10:10:52 -0600 Subject: [PATCH] chore: filter when filename==='' to get server-only response --- test/utils/deployResponses.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/utils/deployResponses.ts b/test/utils/deployResponses.ts index ca96c705..c2c95360 100644 --- a/test/utils/deployResponses.ts +++ b/test/utils/deployResponses.ts @@ -389,7 +389,7 @@ export const getDeployResult = ( const successes = response.details.componentSuccesses; fileProps = ensureArray(successes); return fileProps - .filter((p) => p.fileName !== 'package.xml') + .filter((p) => p.fileName !== 'package.xml' && p.fileName !== '') .map((comp) => ({ fullName: comp.fullName, filePath: comp.fileName,