test262/harness
Philip Chimento f44bbe4035 Temporal: Avoid calling user code in no-op round operations
This shortcut path now exists in all round(), since(), and until()
operations.
In Instant, PlainDate, PlainDateTime, and PlainTime, the change isn't
observable, so no tests could be added. This adds test coverage for

- Duration.p.round()
- PlainYearMonth.p.since()
- PlainYearMonth.p.until()
- ZonedDateTime.p.round()
- ZonedDateTime.p.since()
- ZonedDateTime.p.until()

As well as a few cases where we are testing that certain calendar methods
get called during a round operation, but previously were doing so with
options that now become a no-op and no longer call those calendar methods.
In those cases, round to 2 ns, rather than 1 ns.
2023-09-13 10:57:43 +02:00
..
assert.js Add identity tests for the assert.throws 2021-09-21 16:45:27 -04:00
assertRelativeDateMs.js chore: migrate $ERROR -> throw new Test262Error in harness/ & test/harness 2021-07-21 15:15:55 -04:00
async-gc.js Harness: Ensure $DONE called only once in async-gc.js 2022-10-12 09:58:45 +02:00
asyncHelpers.js harness/asyncHelpers.js: Refactor asyncTest to always return undefined instead of a Promise 2023-02-21 11:04:09 -08:00
atomicsHelper.js chore: migrate $ERROR -> throw new Test262Error in harness/ & test/harness 2021-07-21 15:15:55 -04:00
byteConversionValues.js lint: add rule to verify use of harness files 2019-09-25 14:00:50 -04:00
compareArray.js fix: ensure that symbol args as message don't break assert.compareArray 2021-10-05 15:16:53 -04:00
compareIterator.js Improve documentation for assert.compareIterator. 2022-11-04 10:54:28 -07:00
dateConstants.js lint: add rule to verify use of harness files 2019-09-25 14:00:50 -04:00
decimalToHexString.js lint: add rule to verify use of harness files 2019-09-25 14:00:50 -04:00
deepEqual.js Cleanup compareArray and deepEqual assertions, remove assert._formatValue 2019-10-09 17:57:10 -04:00
detachArrayBuffer.js lint: add rule to verify use of harness files 2019-09-25 14:00:50 -04:00
doneprintHandle.js Harness: Account for Symbols being thrown in async tests 2022-10-12 09:58:45 +02:00
features.yml Make Atomics tests more resilient against intermittent failures (#1617) 2018-07-03 12:34:54 -04:00
fnGlobalObject.js lint: add rule to verify use of harness files 2019-09-25 14:00:50 -04:00
hidden-constructors.js Remove erroneous ArrowFunction 2020-10-07 16:43:48 -04:00
isConstructor.js Add missing feature flag to isContructor helper file 2022-12-17 13:18:46 -08:00
nans.js lint: add rule to verify use of harness files 2019-09-25 14:00:50 -04:00
nativeFunctionMatcher.js chore: migrate $ERROR -> throw new Test262Error in harness/ & test/harness 2021-07-21 15:15:55 -04:00
promiseHelper.js chore: migrate $ERROR -> throw new Test262Error in harness/ & test/harness 2021-07-21 15:15:55 -04:00
propertyHelper.js Deprecate some property helpers 2022-04-04 11:28:37 -04:00
proxyTrapsHelper.js lint: add rule to verify use of harness files 2019-09-25 14:00:50 -04:00
regExpUtils.js Add tests ensuring the latest Unicode Emoji standard is being followed 2023-08-28 16:31:57 +02:00
sta.js Replace arrow function with regular function in harness/sta.js 2023-06-21 17:19:47 +02:00
tcoHelper.js lint: add rule to verify use of harness files 2019-09-25 14:00:50 -04:00
temporalHelpers.js Temporal: Avoid calling user code in no-op round operations 2023-09-13 10:57:43 +02:00
testAtomics.js lint: add rule to verify use of harness files 2019-09-25 14:00:50 -04:00
testBigIntTypedArray.js Atomics: corrections 2020-06-24 12:26:41 -04:00
testIntl.js Use simplified PartitionDurationFormatPattern to computed expected results 2023-08-28 16:18:47 +02:00
testTypedArray.js Atomics: corrections 2020-06-24 12:26:41 -04:00
timer.js chore: migrate $ERROR -> throw new Test262Error in harness/ & test/harness 2021-07-21 15:15:55 -04:00
typeCoercion.js lint: add rule to verify use of harness files 2019-09-25 14:00:50 -04:00
wellKnownIntrinsicObjects.js native function validator for your consideration 2020-08-04 19:44:31 -04:00