From a9573041f44462d6ccb287f7dccf672f54b0d7b3 Mon Sep 17 00:00:00 2001 From: James Sumners Date: Wed, 24 Apr 2024 08:30:29 -0400 Subject: [PATCH] chore: Updated versioned tests readme (#2159) --- test/versioned/Readme.md | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/test/versioned/Readme.md b/test/versioned/Readme.md index b5ab2a825e..10e56cf46c 100644 --- a/test/versioned/Readme.md +++ b/test/versioned/Readme.md @@ -32,7 +32,24 @@ that are specific to our versioned test runner. The following is a // // If this property is omitted, the tool used to build our compatibility // document(s) will not include any modules from this versioned test suite. - "targets": ["module"], + "targets": [ + { + // The name of the module being tested for compatibility. + "name": "module", + + // The minimum agent version that supports the named module. + "minAgentVersion": "2.6.0" + }, + + { + "name": "other-module", + + // If the named module requires a specific agent implemenation, for + // example `@newrelic/next`, then the full agent module identifier with + // version string should be provided. + "minAgentVersion": "@newrelic/special-agent@1.2.3" + } + ], // `version` is ignored. "version": "0.0.0",