Skip to content

Commit

Permalink
test(koa): add test all versions to @koa/router (#1398)
Browse files Browse the repository at this point in the history
* test(koa): add test all versions to @koa/router

* chore(koa): tav @koa/router also for future major versions

* docs(koa): add koa router to supported versions in README

---------

Co-authored-by: Haddas Bronfman <[email protected]>
  • Loading branch information
blumamir and haddasbronfman authored Feb 27, 2023
1 parent 3ca874e commit 40461ce
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions plugins/node/opentelemetry-instrumentation-koa/.tav.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
"@koa/router":
versions: "8.0.8 || 9.4.0 || 10.0.0 || 10.1.1 || 11.0.1 || >=12.0.0"
commands: npm run test

koa:
# Testing ^2.7.0 covers at least 97% of the downloaded koa versions
versions: "^2.7.0"
Expand Down
3 changes: 2 additions & 1 deletion plugins/node/opentelemetry-instrumentation-koa/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ npm install --save @opentelemetry/instrumentation-koa

### Supported Versions

- `^2.0.0`
- `koa`: `^2.0.0`
- `@koa/router`: `>=8`

## Usage

Expand Down

0 comments on commit 40461ce

Please sign in to comment.