test: convert test to ESM

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
This commit is contained in:
Girish Ramakrishnan
2026-04-15 16:16:57 +02:00
parent 43b6dbc74a
commit cd4d6efee4
2 changed files with 12 additions and 15 deletions

View File

@@ -14,5 +14,6 @@
},
"dependencies": {
"chromedriver": "^146.0.5"
}
},
"type": "module"
}