Skip to content

test(RichTextEditor): tests for the rich text editor package - #2886

Draft
jcosta33 wants to merge 22 commits into
feat/rte-01a-groundworkfrom
feat/rte-02a-groundwork-tests
Draft

jcosta33 wants to merge 22 commits into
feat/rte-01a-groundworkfrom
feat/rte-02a-groundwork-tests

Conversation

@jcosta33

@jcosta33 jcosta33 commented Oct 10, 2026 •

Copy link
Copy Markdown
Contributor

The tests for #2885: checkHref against a table of safe and unsafe URLs (src/model/__tests__/fixtures/urls.json), obfuscation cases and fast-check properties; a build of the package that checks its manifest, exports and output; and a check that the strict compiler options are on.

This pull request is merged into #2885 before #2885 goes to main; it needs no separate review.

@changeset-bot

changeset-bot Bot commented Oct 10, 2026 •

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 05eab0e

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Builds the package into a temporary directory and checks the export entries, the ES module output that mirrors src, external dependency imports, React and ProseMirror peers, and ProseMirror version floors. The environment specs run under Node like the other headless tests.
A folder that no export reaches yet, or a types-only module, emits no JavaScript. Every emitted file still needs a source module, which catches a bundled dependency.
…build

Source may import the package's own JSON, such as the version in package.json, which the build emits as a module.
…ests

Tests move from the environment seam to checkHref.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant