[go: up one dir, main page]

Improve test coverage for init.lua (85.96% → 90%+)

Current Coverage

85.96% (49 hits, 8 missed)

Missing Test Coverage

Already Above Target! (85.96% > 85%)

This module is already above the 85% threshold, but we can still improve it slightly.

Optional Improvements

  • Test conditional command registration logic
  • Test edge cases in config merging
  • Test autocmd creation (if any)

Stretch Target Coverage

90%+ for even better coverage

Files to Update

  • tests/zk-extras/init_spec.lua (optional enhancements)