mirror of
https://github.com/cline/cline.git
synced 2025-06-03 03:59:07 +00:00
test:dev
This commit is contained in:
parent
62d139030a
commit
91eb6a6510
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
@ -59,4 +59,4 @@ jobs:
|
||||
run: npm run format
|
||||
|
||||
- name: Extension Tests
|
||||
run: xvfb-run -a npm run test
|
||||
run: npm run test:dev
|
||||
|
@ -34,13 +34,16 @@ If you're planning to work on a bigger feature, please create a [feature request
|
||||
3. **Linux-specific Setup**
|
||||
If you're developing on Linux, you'll need to install additional system libraries required for running VSCode extension tests:
|
||||
```bash
|
||||
sudo apt-get install -y \
|
||||
sudo apt update
|
||||
sudo apt install -y \
|
||||
libatk1.0-0 libatk-bridge2.0-0 libxkbfile1 libx11-xcb1 \
|
||||
libxcomposite1 libxdamage1 libxfixes3 libxrandr2 libgbm1 \
|
||||
libdrm2 libgtk-3-0 dbus xvfb
|
||||
```
|
||||
These libraries provide necessary GUI components and system services for the test environment.
|
||||
|
||||
- Run `npm run test:dev` to run tests locally
|
||||
|
||||
## Writing and Submitting Code
|
||||
|
||||
Anyone can contribute code to Cline, but we ask that you follow these guidelines to ensure your contributions can be smoothly integrated:
|
||||
|
@ -190,6 +190,7 @@
|
||||
"format": "prettier . --check",
|
||||
"format:fix": "prettier . --write",
|
||||
"test": "vscode-test",
|
||||
"test:dev": "xvfb-run -a npm run test",
|
||||
"install:all": "npm install && cd webview-ui && npm install",
|
||||
"start:webview": "cd webview-ui && npm run start",
|
||||
"build:webview": "cd webview-ui && npm run build",
|
||||
|
Loading…
Reference in New Issue
Block a user