diff --git a/plugins/node/opentelemetry-instrumentation-fastify/.tav.yml b/plugins/node/opentelemetry-instrumentation-fastify/.tav.yml new file mode 100644 index 0000000000..d20da709a9 --- /dev/null +++ b/plugins/node/opentelemetry-instrumentation-fastify/.tav.yml @@ -0,0 +1,5 @@ +"fastify": + - versions: "4.23.2" + commands: npm run test +"typescript": + - versions: "4.7.4" diff --git a/plugins/node/opentelemetry-instrumentation-fastify/package.json b/plugins/node/opentelemetry-instrumentation-fastify/package.json index 1217c94494..ec08914fcc 100644 --- a/plugins/node/opentelemetry-instrumentation-fastify/package.json +++ b/plugins/node/opentelemetry-instrumentation-fastify/package.json @@ -13,6 +13,7 @@ "precompile": "tsc --version && lerna run version:update --scope @opentelemetry/instrumentation-fastify --include-dependencies", "prepare": "npm run compile", "test": "nyc ts-mocha -p tsconfig.json 'test/**/*.test.ts'", + "test-all-versions": "tav", "version:update": "node ../../../scripts/version-update.js", "prewatch": "npm run precompile", "watch": "tsc -w" @@ -58,6 +59,7 @@ "mocha": "7.2.0", "nyc": "15.1.0", "rimraf": "5.0.5", + "test-all-versions": "5.0.1", "ts-mocha": "10.0.0", "typescript": "4.4.4" },