Skip to content
This repository has been archived by the owner on Jan 17, 2025. It is now read-only.

Drop test-double and its dep quibble, use simple DateTime stubbing instead #32

Merged
merged 4 commits into from
Jan 13, 2025

Conversation

bantic
Copy link
Contributor

@bantic bantic commented Jan 13, 2025

Drops testdouble as a dependency.
#25 showed that newer testdouble versions result in an odd CI failure (ENOENT error while trying to require('node:worker_threads')) that came from a 2ndary dep upgrade of "quibble"

image

We were only using testdouble to stub Luxon.DateTime.now|utc in a handful of places. This PR drops the dep and uses simple property reassignment to do the stubbing.

bantic and others added 4 commits January 13, 2025 13:17
Bumps [testdouble](https://github.com/testdouble/testdouble.js) from 3.16.1 to 3.20.2.
- [Changelog](https://github.com/testdouble/testdouble.js/blob/main/CHANGELOG.md)
- [Commits](testdouble/testdouble.js@v3.16.1...v3.20.2)

---
updated-dependencies:
- dependency-name: testdouble
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@bantic bantic changed the title [draft] Test CI Drop test-double and its dep quibble, use simple DateTime stubbing instead Jan 13, 2025
@bantic bantic marked this pull request as ready for review January 13, 2025 13:03
@bantic bantic requested a review from a team January 13, 2025 13:04
@mixonic mixonic added this pull request to the merge queue Jan 13, 2025
Merged via the queue into master with commit 8d633a0 Jan 13, 2025
1 check passed
@mixonic mixonic deleted the bantic/try-pr-25-v2 branch January 13, 2025 13:29
@bantic bantic mentioned this pull request Jan 14, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants