From 40461ce217103074737504ec095f99ad379ba76c Mon Sep 17 00:00:00 2001 From: Amir Blum Date: Mon, 27 Feb 2023 12:44:20 +0200 Subject: [PATCH] test(koa): add test all versions to @koa/router (#1398) * 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 <85441461+haddasbronfman@users.noreply.github.com> --- plugins/node/opentelemetry-instrumentation-koa/.tav.yml | 4 ++++ plugins/node/opentelemetry-instrumentation-koa/README.md | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/plugins/node/opentelemetry-instrumentation-koa/.tav.yml b/plugins/node/opentelemetry-instrumentation-koa/.tav.yml index 4f6d442e38..2cd22120aa 100644 --- a/plugins/node/opentelemetry-instrumentation-koa/.tav.yml +++ b/plugins/node/opentelemetry-instrumentation-koa/.tav.yml @@ -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" diff --git a/plugins/node/opentelemetry-instrumentation-koa/README.md b/plugins/node/opentelemetry-instrumentation-koa/README.md index 26f1d1a289..d964ca8c78 100644 --- a/plugins/node/opentelemetry-instrumentation-koa/README.md +++ b/plugins/node/opentelemetry-instrumentation-koa/README.md @@ -17,7 +17,8 @@ npm install --save @opentelemetry/instrumentation-koa ### Supported Versions -- `^2.0.0` +- `koa`: `^2.0.0` +- `@koa/router`: `>=8` ## Usage