Skip to content

Commit 12ad8ec

Browse files
committed
Add timezone-related DateTimeFormat tests
1 parent f3aac5f commit 12ad8ec

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

index.mjs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,9 @@ export default function runTest262({ test262Dir, testGlobs, polyfillCodeFile, ex
212212
path.resolve(testSubdirectory, '**/Temporal/**/*.js'),
213213
// e.g. intl402/DateTimeFormat/prototype/format/temporal-objects-resolved-time-zone.js
214214
path.resolve(testSubdirectory, 'intl402/**/*[tT]emporal*.js'),
215+
// Intl tests related to time zones
216+
// e.g. intl402/DateTimeFormat/timezone-case-insensitive.js
217+
path.resolve(testSubdirectory, 'intl402/DateTimeFormat/**/*[zZ]one*.js'),
215218
// "p*" is a workaround because there is no toTemporalInstant dir at this time
216219
path.resolve(testSubdirectory, 'built-ins/Date/p*/toTemporalInstant/*.js')
217220
].forEach((defaultGlob) => globResults.push(...globSync(defaultGlob, GLOB_OPTS)));

0 commit comments

Comments
 (0)