Skip to content

Commit 6a380ef

Browse files
authored
test: Moved aws-sdk-v3 common.js requirement of semver (newrelic#3461)
Signed-off-by: mrickard <maurice@mauricerickard.com>
1 parent 49f4d93 commit 6a380ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/versioned/aws-sdk-v3/common.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ const { match } = require('../../lib/custom-assertions')
1616
const assert = require('node:assert')
1717
const SEGMENT_DESTINATION = TRANS_SEGMENT
1818
const helper = require('../../lib/agent_helper')
19-
const semver = require('semver')
2019
const fs = require('node:fs')
2120
const path = require('node:path')
2221

@@ -180,6 +179,7 @@ function afterEach(ctx) {
180179
}
181180

182181
function getAiResponseServer() {
182+
const semver = require('semver')
183183
const { version: pkgVersion } = JSON.parse(
184184
fs.readFileSync(path.join(__dirname, '/node_modules/@aws-sdk/client-bedrock-runtime/package.json'))
185185
)

0 commit comments

Comments
 (0)