so mostly focused on improving the register repo and docs experience as i feel like the website is established and complete at this point.
i am still learning the bun/jest api on writing test code so this may not be perfect, but its a start!
- made a wrapper function for looping through subdomain files using callbacks and bun fs api
- improve regex checks for ipv4, ipv6, and fqdns based on ajv-formats npm package (regex is copied pasted from source code rather than installing the package directly as that introduces bloat and dependency management)
- slight fixed to tests handling promises (still rather broken but ill fix that later)
- add new constants for looping though records
- made a helper function to read subdomain file and parse the json. both using bun fs api
- update all test fail messages to print file paths for easy tracing
- new test to check schema structure and record values using ip and domain regexes
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.