Skip to content

chore(tests): migrated test framework to native Deno - #109

Merged
petruki merged 1 commit into
masterfrom
staging
Oct 18, 2026
Merged

petruki merged 1 commit into
masterfrom
staging

Conversation

@petruki

@petruki petruki commented Oct 18, 2026

Copy link
Copy Markdown
Member

This pull request makes several improvements to the test suite and project configuration, focusing on modernizing test syntax, cleaning up dependencies, and updating CI and documentation to reflect support for Deno v2.x only. The main changes include migrating tests from describe/it to Deno.test, removing legacy Deno v1 support from CI and scripts, and cleaning up unused imports.

Test suite modernization:

  • Migrated all test files from using describe and it to native Deno.test syntax for consistency and better compatibility with Deno v2.x. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14]

  • Removed unused BDD-style test imports (describe, it, etc.) from tests/deps.ts, simplifying dependency management.

CI and script updates:

  • Updated .github/workflows/master.yml to drop Deno v1.x from the test matrix, now testing only on Deno v2.9.7, and removed the v1-specific test step. [1] [2]

  • Updated deno.jsonc to remove the test-v1 script and adjust the play script to use --env-file, reflecting the move away from Deno v1.x.

Documentation:

  • Updated the README.md prerequisites to clarify that only Deno 2.x is officially supported, and Deno 1.4x is no longer verified.

Test playground improvements:

  • Removed dotenv loading and replaced all direct/async function calls in tests/playground/index.ts with appropriate await or void usages for clarity and correctness. [1] [2] [3] [4] [5] [6]

@petruki petruki added this to the v2.5.1 milestone Oct 18, 2026
@petruki petruki self-assigned this Oct 18, 2026
@sonarqubecloud

Copy link
Copy Markdown

@petruki
petruki merged commit 36fc338 into master Oct 18, 2026
7 of 8 checks passed
@petruki
petruki deleted the staging branch October 18, 2026 20:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant