mirror of
https://github.com/electron/electron.git
synced 2026-01-08 23:18:06 -05:00
test: remove already disabled nan tests from our disable list (#49050)
This commit is contained in:
@@ -133,12 +133,7 @@ async function main () {
|
|||||||
|
|
||||||
const DISABLED_TESTS = new Set([
|
const DISABLED_TESTS = new Set([
|
||||||
'nannew-test.js',
|
'nannew-test.js',
|
||||||
'buffer-test.js',
|
'buffer-test.js'
|
||||||
// These two are incompatible with crrev.com/c/4733273
|
|
||||||
// They are disabled upstream starting in "Node.js 24" (note: the incompatible change above
|
|
||||||
// landed in V8 v13.7), so we can remove them from this list once we upgrade Node.js to 24.
|
|
||||||
'weak-test.js',
|
|
||||||
'weak2-test.js'
|
|
||||||
]);
|
]);
|
||||||
const testsToRun = fs.readdirSync(path.resolve(NAN_DIR, 'test', 'js'))
|
const testsToRun = fs.readdirSync(path.resolve(NAN_DIR, 'test', 'js'))
|
||||||
.filter(test => !DISABLED_TESTS.has(test))
|
.filter(test => !DISABLED_TESTS.has(test))
|
||||||
|
|||||||
Reference in New Issue
Block a user