From c549dae38681f8908960f1e227f3a373ffac71c5 Mon Sep 17 00:00:00 2001 From: Philip Chimento Date: Tue, 30 Apr 2024 12:47:53 -0700 Subject: [PATCH] Run all DateTimeFormat tests by default These were previously omitted because the tc39/proposal-temporal reference code didn't provide a spec-compliant DateTimeFormat object. Now (most of) those compliance issues have been fixed, let's run those tests. --- index.mjs | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/index.mjs b/index.mjs index 2cf8355..a4ec695 100644 --- a/index.mjs +++ b/index.mjs @@ -228,11 +228,8 @@ export default function runTest262({ if (testGlobs.length === 0) { [ path.resolve(testSubdirectory, '**/Temporal/**/*.js'), - // e.g. intl402/DateTimeFormat/prototype/format/temporal-objects-resolved-time-zone.js - path.resolve(testSubdirectory, 'intl402/**/*[tT]emporal*.js'), - // Intl tests related to time zones - // e.g. intl402/DateTimeFormat/timezone-case-insensitive.js - path.resolve(testSubdirectory, 'intl402/DateTimeFormat/**/*[zZ]one*.js'), + path.resolve(testSubdirectory, 'intl402/DateTimeFormat/**/*.js'), + path.resolve(testSubdirectory, 'intl402/Intl/DateTimeFormat/**/*.js'), // "p*" is a workaround because there is no toTemporalInstant dir at this time path.resolve(testSubdirectory, 'built-ins/Date/p*/toTemporalInstant/*.js') ].forEach((defaultGlob) => globResults.push(...globSync(defaultGlob, GLOB_OPTS)));