Skip to content

Commit 67e7a00

Browse files
authored
Run all DateTimeFormat tests by default (#19)
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.
1 parent bfaa5d7 commit 67e7a00

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

index.mjs

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -228,11 +228,8 @@ export default function runTest262({
228228
if (testGlobs.length === 0) {
229229
[
230230
path.resolve(testSubdirectory, '**/Temporal/**/*.js'),
231-
// e.g. intl402/DateTimeFormat/prototype/format/temporal-objects-resolved-time-zone.js
232-
path.resolve(testSubdirectory, 'intl402/**/*[tT]emporal*.js'),
233-
// Intl tests related to time zones
234-
// e.g. intl402/DateTimeFormat/timezone-case-insensitive.js
235-
path.resolve(testSubdirectory, 'intl402/DateTimeFormat/**/*[zZ]one*.js'),
231+
path.resolve(testSubdirectory, 'intl402/DateTimeFormat/**/*.js'),
232+
path.resolve(testSubdirectory, 'intl402/Intl/DateTimeFormat/**/*.js'),
236233
// "p*" is a workaround because there is no toTemporalInstant dir at this time
237234
path.resolve(testSubdirectory, 'built-ins/Date/p*/toTemporalInstant/*.js')
238235
].forEach((defaultGlob) => globResults.push(...globSync(defaultGlob, GLOB_OPTS)));

0 commit comments

Comments
 (0)