forked from mirrors/misskey
Node.js 24 support (#16723)
* Revert "テストが動かないためnodejs 24サポートを取り消し"
This reverts commit a892bbcce5.
* fix jest.js
* ファイルの添付方法を変更
---------
Co-authored-by: samunohito <46447427+samunohito@users.noreply.github.com>
This commit is contained in:
@@ -10,7 +10,7 @@ const __dirname = path.dirname(__filename);
|
||||
|
||||
const args = [];
|
||||
args.push(...[
|
||||
...semver.satisfies(process.version, '^20.17.0 || ^22.0.0') ? ['--no-experimental-require-module'] : [],
|
||||
...semver.satisfies(process.version, '^20.17.0 || ^22.0.0 || ^24.10.0') ? ['--no-experimental-require-module'] : [],
|
||||
'--experimental-vm-modules',
|
||||
'--experimental-import-meta-resolve',
|
||||
path.join(__dirname, 'node_modules/jest/bin/jest.js'),
|
||||
|
||||
Reference in New Issue
Block a user