fix: resolve TypeScript lint error in Docker entrypoint tests

- Add type guard to safely check for 'failed' property existence
- Use 'in' operator to handle union type properly
- Fixes TS2339 error: Property 'failed' does not exist on type

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
czlonkowski
2025-08-01 15:27:58 +02:00
parent ff7fa33e51
commit 100f67ce3b

View File

@@ -582,7 +582,7 @@ describeDocker('Docker Entrypoint Script', () => {
console.log(`Container ${i}:`, {
stdout: result.stdout,
stderr: result.stderr,
failed: result.failed
failed: 'failed' in result ? result.failed : false
});
});
}