-
-
Notifications
You must be signed in to change notification settings - Fork 570
fix: Duplicate formatConversionTest
files
#1798
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@blocknote/ariakit
@blocknote/code-block
@blocknote/core
@blocknote/mantine
@blocknote/react
@blocknote/server-util
@blocknote/shadcn
@blocknote/xl-ai
@blocknote/xl-docx-exporter
@blocknote/xl-email-exporter
@blocknote/xl-multi-column
@blocknote/xl-odt-exporter
@blocknote/xl-pdf-exporter
commit: |
addIdsToBlock(block); | ||
} | ||
} | ||
export * from "@shared/formatConversionTestUtil.js"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let's for now remove this file altogether and directly reference @shared/formatConversionTestUtil
. This makes the codebase consistent and less "in limbo" state.
If we want to prioritize moving all unit tests, we should discuss this with 3 of us. Atm I'm not immediately convinced; afaik we decided on moving the formatting tests to a shared directory, because they shared similar logic - but we didn't settle on a rule to "have all unit tests" in /tests
This PR removes the duplicate
formatConversionTest
files, and only preserves the one in the@shared
directory. This is still not ideal as really, all the unit tests should be within/tests/
, but that is a pretty big refactor that imo is for another time Thexl-tests-refactor
branch has an early WIP for that, when I was checking how much work it is.