Repository navigation
Conversation
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



This pull request updates dependencies and refactors test utilities to improve test reliability and compatibility. The main changes include upgrading Deno and related tooling versions, switching to a new mock-fetch implementation, and refactoring test helper functions and test files to accommodate these changes.
Dependency and Tooling Upgrades:
2.9.4to2.9.7in.devcontainer/Dockerfileand all GitHub Actions workflow files, ensuring consistency across development and CI environments. [1] [2] [3] [4]v8.2.1tov8.3.0for improved code analysis. [1] [2]@std/testing,@std/async,@std/dotenv, and switchedmock_fetchtojsr:@jeiea/mock-fetch@0.1.0.Test Helper and Mock Refactoring:
given,givenError, andtearDownutility functions intests/helper/utils.tsto use the newmock-fetchAPI, requiring explicit mock installation and restoration.WaitSafe.waitmethod to usesetIntervalfor more reliable timing in async test waits.Test File Updates:
SWITCHER_URLenvironment variable instead of a hardcoded URL for improved configurability.Summary of Most Important Changes:
Dependency and Tooling Upgrades
2.9.7and updated all references in Dockerfile and GitHub Actions workflows for consistency. [1] [2] [3] [4]v8.3.0for improved CI code analysis. [1] [2]jsr:@jeiea/mock-fetch@0.1.0for HTTP mocking.Test Helper and Test File Refactoring
tests/helper/utils.tsto support the new mock-fetch API, requiring explicit mock installation, instance passing, and restoration.Other Improvements
WaitSafe.waitto usesetIntervalfor more accurate timing in tests.SWITCHER_URLenvironment variable.