Revert "refactor: move test-plugin to integration suite"

This reverts commit bc02005dc0.

I couldn't get past some GLIBC errors in CI so moving back to unit
tests.
This commit is contained in:
Joe Previte
2022-09-21 12:13:15 -07:00
parent 9a1cd349a1
commit 7d43eaac95
13 changed files with 20 additions and 19 deletions

View File

@@ -24,11 +24,6 @@ main() {
path="$CODE_SERVER_PATH"
fi
echo "Building test plugin"
pushd test/integration/test-plugin
make -s out/index.js
popd
echo "Running tests with code-server binary: '$path'"
if [[ ! -f $path ]]; then
@@ -38,7 +33,7 @@ main() {
exit 1
fi
CODE_SERVER_PATH="$path" CS_DISABLE_PLUGINS=true ./test/node_modules/.bin/jest "$@" --coverage=false --testRegex "./test/integration" --testPathIgnorePatterns "./test/integration/fixtures" --testPathIgnorePatterns "./test/integration/test-plugin"
CODE_SERVER_PATH="$path" CS_DISABLE_PLUGINS=true ./test/node_modules/.bin/jest "$@" --coverage=false --testRegex "./test/integration" --testPathIgnorePatterns "./test/integration/fixtures"
}
main "$@"