Replace CommonJS require() with ESM imports, add "type": "module" to test/package.json, remove 'use strict' and jshint directives, replace __dirname with import.meta.dirname. Made-with: Cursor
20 lines
363 B
JSON
20 lines
363 B
JSON
{
|
|
"name": "test",
|
|
"version": "1.0.0",
|
|
"description": "",
|
|
"main": "test.js",
|
|
"scripts": {
|
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
},
|
|
"author": "",
|
|
"license": "ISC",
|
|
"devDependencies": {
|
|
"mocha": "^11.7.5",
|
|
"selenium-webdriver": "^4.41.0"
|
|
},
|
|
"dependencies": {
|
|
"chromedriver": "^146.0.5"
|
|
},
|
|
"type": "module"
|
|
}
|