test262/test/intl402/DurationFormat
Frank Yung-Fong Tang 4569e73420
Fix DurationFormat default tests (#3640)
1. add the test for "seconds"
2. since the default value for "style" is "long", baseStyle for GetDurationUnitOptions is "long" and therefore the 
last argument in testOption should be "long"
3. the valid values for "days" does not contains  "numeric", and "2-digit". remove them. 
4. the valid values for "milliseconds", "microseconds" and "nanoseconds" does not contains "2-digit". remove it.

See https://tc39.es/proposal-intl-duration-format/#table-duration-components about the valid value
notice the last colum is for "Digital Default" while the baseStyle is "digital" but the set up does not set it that way, the default value for "style" is "long" as in
```
13. Let style be ? GetOption(options, "style", "string", « "long", "short", "narrow", "digital" », "long").
```
of https://tc39.es/proposal-intl-duration-format/#sec-Intl.DurationFormat

* Sync to PR 121

Change default from "long" to "short"
2022-09-14 12:51:40 -07:00
..
prototype Fix DurationFormat default tests (#3640) 2022-09-14 12:51:40 -07:00
supportedLocalesOf Intl.DurationFormat update coverage (#3501) 2022-05-03 08:19:32 -07:00
constructor-locales-invalid.js Intl.DurationFormat update coverage (#3501) 2022-05-03 08:19:32 -07:00
constructor-locales-valid.js Intl.DurationFormat update coverage (#3501) 2022-05-03 08:19:32 -07:00
constructor-options-defaults.js Fix DurationFormat default tests (#3640) 2022-09-14 12:51:40 -07:00
constructor-options-fractionalDigits-invalid.js Intl.DurationFormat update coverage (#3501) 2022-05-03 08:19:32 -07:00
constructor-options-fractionalDigits-valid.js Remove undefined to sync to PR 113 2022-09-14 12:42:53 -07:00
constructor-options-invalid.js Intl.DurationFormat update coverage (#3501) 2022-05-03 08:19:32 -07:00
constructor-options-localeMatcher-invalid.js Intl.DurationFormat update coverage (#3501) 2022-05-03 08:19:32 -07:00
constructor-options-localeMatcher-valid.js Intl.DurationFormat update coverage (#3501) 2022-05-03 08:19:32 -07:00
constructor-options-numberingSystem-invalid.js Intl.DurationFormat update coverage (#3501) 2022-05-03 08:19:32 -07:00
constructor-options-numberingSystem-valid.js Intl.DurationFormat update coverage (#3501) 2022-05-03 08:19:32 -07:00
constructor-options-order.js Intl.DurationFormat update coverage (#3501) 2022-05-03 08:19:32 -07:00
constructor-options-style-invalid.js Intl.DurationFormat update coverage (#3501) 2022-05-03 08:19:32 -07:00
constructor-options-style-valid.js Fix DurationFormat default tests (#3640) 2022-09-14 12:51:40 -07:00
extensibility.js Intl.DurationFormat update coverage (#3501) 2022-05-03 08:19:32 -07:00
length.js Intl.DurationFormat update coverage (#3501) 2022-05-03 08:19:32 -07:00
name.js Intl.DurationFormat update coverage (#3501) 2022-05-03 08:19:32 -07:00
newtarget-undefined.js Intl.DurationFormat update coverage (#3501) 2022-05-03 08:19:32 -07:00
prop-desc.js Intl.DurationFormat update coverage (#3501) 2022-05-03 08:19:32 -07:00
prototype.js Intl.DurationFormat update coverage (#3501) 2022-05-03 08:19:32 -07:00