test(gutenberg-to-portable-text): add transform tests (#332)

* test(gutenberg-to-portable-text): add transform tests

This adds a bunch of tests, mostly for the transformers but also some
minor edge cases in the inline parser, too.

It also enables `noUnusedLocals` in `tsconfig.json` which caught a
couple of unused things.

* chore: add domain to each

* style: format

* chore: remove some figures

---------

Co-authored-by: emdashbot[bot] <emdashbot[bot]@users.noreply.github.com>
This commit is contained in:
James Garbutt
2026-04-07 07:36:14 +01:00
committed by GitHub
parent dbaf8c6f85
commit a996387de4
5 changed files with 401 additions and 9 deletions

View File

@@ -12,6 +12,7 @@
"esModuleInterop": true,
"skipLibCheck": true,
"noUncheckedIndexedAccess": true,
"noUnusedLocals": true,
"noImplicitOverride": true,
"verbatimModuleSyntax": true
},