1
0
mirror of https://git.cloudron.io/cloudron/gitea-app synced 2026-04-23 19:33:45 +00:00

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:54 +02:00
parent d37d644518
commit 3e9b16ce1d
2 changed files with 17 additions and 20 deletions

View File

@@ -13,5 +13,6 @@
"mocha": "^11.7.5",
"selenium-webdriver": "^4.41.0",
"superagent": "^10.3.0"
}
},
"type": "module"
}