Files
matmoul 5fa30414d7 fix: normalize bridge errors and support nested group paths
Distinguish invalid KeePass requests from backend failures in the Python bridge, improve nested group path resolution, and add coverage for nested group creation plus payload forwarding.
2026-05-10 00:56:58 +02:00
..
2026-05-09 23:50:24 +02:00
2026-05-09 23:50:24 +02:00

Tests

This directory is organized as follows:

  • tests/unit/: fast unit tests with mocks
  • tests/integration/: optional integration tests that may require pykeepass and a Python environment
  • tests/fixtures/: bundled KeePass databases and matching JSON credentials/content files

Conventions

  • Use *.test.ts filenames.
  • Keep unit tests isolated and fast.
  • Prefer mocking the Python bridge in unit tests.
  • Put environment-dependent checks in tests/integration/.
  • Keep fixture-driven expectations aligned with the matching *.kdbx.json file.
  • Integration tests should skip or self-report when prerequisites are missing.