Vitest aliases, fix test file URLs, and add Pointer/RFC6902 tests#279
Open
MarcusLongmuir wants to merge 1 commit intomainfrom
Open
Vitest aliases, fix test file URLs, and add Pointer/RFC6902 tests#279MarcusLongmuir wants to merge 1 commit intomainfrom
MarcusLongmuir wants to merge 1 commit intomainfrom
Conversation
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.
Motivation
file:///URL form expected by the code.Description
resolve.aliasentries tovitest.config.tsinpackages/mml-cliandpackages/networked-dom-documentusingnode:pathto map internal package names to theirsrc/index.tsfiles for correct module resolution in tests."file://test.html"with"file:///test.html"across numerous test files to use a canonical file URL form.networked-dom-documentincluding new cases inrfc6902/patch.test.ts(add/remove/replace/move/copy/test/invalid ops) andrfc6902/pointer.test.ts(root pointer, invalid pointers, escaping, prototype poisoning, no-op set, push/add semantics), and updated various e2e and v0.1/v0.2 tests to use the corrected file URL.Testing
lcovreports in thecoveragedirectories.Codex Task