messenzy-widget/tests
Serge RAKOTO HARRY-NAIVO 8d0696584c feat(config): parse data-shadow attribute on script tag
Adds the boolean field consumed by the upcoming Shadow DOM mount path.
Strict equality with the string "true" — anything else (absent, "false",
"1", "yes", empty) yields false, so accidental opt-in is impossible.

Tests cover the full parseConfig surface (required fields, server-url
derivation, position default) plus the new shadow attribute parsing.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-27 19:52:27 +02:00
..
unit feat(config): parse data-shadow attribute on script tag 2026-04-27 19:52:27 +02:00
setup.ts chore(test): bootstrap vitest + jsdom test infrastructure 2026-04-27 19:50:45 +02:00