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:
@@ -13,5 +13,6 @@
|
||||
"mocha": "^11.7.5",
|
||||
"selenium-webdriver": "^4.41.0",
|
||||
"superagent": "^10.3.0"
|
||||
}
|
||||
},
|
||||
"type": "module"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user