es-shims / es-shims/Date

72 unit tests now fail when running tests-only in Node 20-22

Open
#3 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
4
Forks
2
PR merge metrics
No merged PRs in 30d

Description

72 unit tests now fail when running tests-only in Node 20-22.

Related to https://github.com/es-shims/Date/blob/v2.0.5/test/Date/tests.js#L216
> st.match(i + ':' + date.getSeconds(), new RegExp(i + ':(?:' + 59 + '|' + 1 + ')'))

If changed to
> st.match(i + ':' + date.getSeconds(), new RegExp(i + ':(?:' + 57 + '|' + 1 + ')'))

all the tests then pass

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.