mirror of
https://git.cloudron.io/cloudron/gitea-app
synced 2026-04-23 19:33:45 +00:00
test: use @cloudron scoped safetydance and superagent
Made-with: Cursor
This commit is contained in:
@@ -12,7 +12,7 @@
|
|||||||
"chromedriver": "^146.0.2",
|
"chromedriver": "^146.0.2",
|
||||||
"mocha": "^11.7.5",
|
"mocha": "^11.7.5",
|
||||||
"selenium-webdriver": "^4.41.0",
|
"selenium-webdriver": "^4.41.0",
|
||||||
"superagent": "^10.3.0"
|
"@cloudron/superagent": "^10.3.0"
|
||||||
},
|
},
|
||||||
"type": "module"
|
"type": "module"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ 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';
|
||||||
import path from 'node:path';
|
import path from 'node:path';
|
||||||
import superagent from 'superagent';
|
import superagent from '@cloudron/superagent';
|
||||||
import { Builder, By, until } from 'selenium-webdriver';
|
import { Builder, By, until } from 'selenium-webdriver';
|
||||||
import { Options } from 'selenium-webdriver/chrome';
|
import { Options } from 'selenium-webdriver/chrome';
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user