1
0
mirror of https://git.cloudron.io/cloudron/syncthing-app synced 2026-04-24 11:24:59 +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:17:02 +02:00
parent 653e6a11bb
commit 7c3f77d272
2 changed files with 12 additions and 15 deletions

View File

@@ -12,5 +12,6 @@
"chromedriver": "^147.0.1",
"mocha": "^11.7.5",
"selenium-webdriver": "^4.41.0"
}
},
"type": "module"
}