Repository navigation
Conversation
…d platform guards
…st and cover seed and clock edge cases
… fixture and read every annotation on a line
…ests Move the environment tests to __tests__/*.spec.ts with behavior titles, and drop the guard script tests, fixtures, lint fixtures and setup tests.
|
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The tests for #2885:
checkHrefagainst 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.