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

fix: unit test tree-sitter loading #377

Merged
merged 1 commit into from
Jul 19, 2023
Merged

Conversation

lihebi
Copy link
Collaborator

@lihebi lihebi commented Jul 19, 2023

The unit tests were broken for a few reasons.

  1. web-tree-sitter 0.20.7 cannot load in the unit test. Now upgraded to 0.20.8. Also updated the tree-sitter.wasm in the public folder to fix fix: web-tree-sitter load wasm error #263.
  2. locateFile function also won't work in unit tests. Added a new initParserForTest to fix it.

@lihebi lihebi merged commit 891bf89 into codepod-io:main Jul 19, 2023
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