ast-grep-vscode
ast-grep-vscode copied to clipboard
chore(infra): move tests folder to top level
| :rocket: This PR description was created by Ellipsis for commit 1f11b4f818a070bbf23e8efad8a9f6854cede2dd. |
|---|
Summary:
This PR moves the tests folder to the top level of the project structure and updates various files to reflect this change, including workflow files, test setup scripts, and test files.
Key points:
- Moved
testsfolder to top level. - Updated
.github/workflows/ci.ymland.github/workflows/publish.ymlto use.nvmrcfor Node.js version. - Updated
scripts/test/testSetup.tsto importactivatefrom newutilslocation. - Updated
src/extension.tsto usepath.joinforconfigUri. - Moved and updated test files in
src/testtotests. - Moved and updated
src/test/utils.tstotests/utils.ts.
Generated with :heart: by ellipsis.dev
any merit to move test to top level?
any merit to move test to top level?
:-) There are no obvious benefits but I think we will move the tests directory to the top layer sooner or later, because we use tsx to run ts code instead of compiling it. By the way, I'm testing the failing reason for window CI in this pr , it seems that Macos is also unstable ...