Enhance project structure and testing capabilities
- Updated .dockerignore to include additional logs and IDE files, improving Docker build efficiency. - Added .eslintrc.json for TypeScript linting configuration, ensuring code quality and consistency. - Refactored Dockerfile to streamline the build process and utilize a slimmer Node.js image. - Introduced jest-resolver.cjs and jest.setup.js for improved Jest testing configuration and setup. - Updated jest.config.js to support ESM and added new test patterns for better test organization. - Enhanced TypeScript schemas to include new device types (media_player, fan, lock, vacuum, scene, script, camera) for comprehensive validation. - Added unit tests for device schemas and Home Assistant connection, improving test coverage and reliability. - Updated README.md with new testing instructions and device control examples, enhancing user guidance.
This commit is contained in:
41
coverage/lcov.info
Normal file
41
coverage/lcov.info
Normal file
@@ -0,0 +1,41 @@
|
||||
TN:
|
||||
SF:src/schemas.ts
|
||||
FNF:0
|
||||
FNH:0
|
||||
DA:1,2
|
||||
DA:4,2
|
||||
DA:22,2
|
||||
DA:30,2
|
||||
DA:36,2
|
||||
DA:41,2
|
||||
DA:47,2
|
||||
DA:55,2
|
||||
DA:62,2
|
||||
DA:69,2
|
||||
DA:93,2
|
||||
DA:99,2
|
||||
DA:112,2
|
||||
DA:119,2
|
||||
DA:128,2
|
||||
DA:135,2
|
||||
DA:142,2
|
||||
DA:149,2
|
||||
DA:157,2
|
||||
DA:164,2
|
||||
DA:169,2
|
||||
DA:176,2
|
||||
DA:183,2
|
||||
DA:190,2
|
||||
DA:196,2
|
||||
DA:203,2
|
||||
DA:207,2
|
||||
DA:211,2
|
||||
DA:215,2
|
||||
DA:219,2
|
||||
DA:223,2
|
||||
DA:227,2
|
||||
LF:32
|
||||
LH:32
|
||||
BRF:0
|
||||
BRH:0
|
||||
end_of_record
|
||||
Reference in New Issue
Block a user