mirror of
https://git.cloudron.io/cloudron/gitea-app
synced 2026-04-23 19:33:45 +00:00
test: remove chromedriver dependency
Selenium Manager auto-detects the system ChromeDriver, making the chromedriver npm package unnecessary. Made-with: Cursor
This commit is contained in:
@@ -9,7 +9,6 @@
|
|||||||
"author": "",
|
"author": "",
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"chromedriver": "^146.0.2",
|
|
||||||
"mocha": "^11.7.5",
|
"mocha": "^11.7.5",
|
||||||
"selenium-webdriver": "^4.41.0",
|
"selenium-webdriver": "^4.41.0",
|
||||||
"@cloudron/superagent": "^10.3.0"
|
"@cloudron/superagent": "^10.3.0"
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
#!/usr/bin/env node
|
#!/usr/bin/env node
|
||||||
|
|
||||||
import 'chromedriver';
|
|
||||||
import { execSync } from 'node:child_process';
|
import { execSync } from 'node:child_process';
|
||||||
import assert from 'node:assert/strict';
|
import assert from 'node:assert/strict';
|
||||||
import fs from 'node:fs';
|
import fs from 'node:fs';
|
||||||
|
|||||||
Reference in New Issue
Block a user