Skip to content
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

test: add initial tests (WIP) #6

Merged
merged 8 commits into from Sep 2, 2022
Merged

test: add initial tests (WIP) #6

merged 8 commits into from Sep 2, 2022

Conversation

43081j
Copy link
Collaborator

@43081j 43081j commented Jul 25, 2022

adding unit tests for all of the code

Fixes #5

src/main.ts Show resolved Hide resolved
43081j added 5 commits July 26, 2022 22:01
This changes methods such as `query`, `queryAll`, `walkChildren`, etc.
to no longer return/yield the root node passed in.

This brings the behaviour closer to that of a browser's `querySelector`
method.
@43081j 43081j merged commit 54a63ef into main Sep 2, 2022
@43081j 43081j deleted the initial-tests branch September 2, 2022 16:43
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.

Add unit tests
2 participants