Skip to content

Commit

Permalink
chore(deps): update dependency nock to v13.3.2 (#1592)
Browse files Browse the repository at this point in the history
* chore(deps): update dependency nock to v13.3.2

* chore: lint

---------

Co-authored-by: Haddas Bronfman <[email protected]>
  • Loading branch information
blumamir and haddasbronfman authored Jul 17, 2023
1 parent b77c282 commit b5fc0c4
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"@types/node": "18.16.19",
"@types/sinon": "10.0.2",
"mocha": "7.2.0",
"nock": "12.0.3",
"nock": "13.3.2",
"nyc": "15.1.0",
"rimraf": "5.0.0",
"sinon": "15.0.1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"@types/sinon": "10.0.2",
"eslint-plugin-header": "^3.1.1",
"mocha": "7.2.0",
"nock": "12.0.3",
"nock": "13.3.2",
"nyc": "15.1.0",
"rimraf": "5.0.0",
"sinon": "15.0.1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"@types/node": "18.16.19",
"@types/semver": "7.5.0",
"mocha": "7.2.0",
"nock": "12.0.3",
"nock": "13.3.2",
"nyc": "15.1.0",
"rimraf": "5.0.0",
"ts-mocha": "10.0.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"@types/node": "18.16.19",
"@types/semver": "7.5.0",
"mocha": "7.2.0",
"nock": "12.0.3",
"nock": "13.3.2",
"nyc": "15.1.0",
"rimraf": "5.0.0",
"ts-mocha": "10.0.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ describe('[UNIT] instanaAgentDetector', () => {
});

it('should return agent resource with env variables', async () => {
process.env.INSTANA_AGENT_PORT = '88866';
process.env.INSTANA_AGENT_PORT = '56001';
process.env.INSTANA_AGENT_HOST = 'instanaagent';

const mockedReply = {
Expand Down Expand Up @@ -108,12 +108,14 @@ describe('[UNIT] instanaAgentDetector', () => {
});

it('agent timeout', async () => {
process.env.INSTANA_AGENT_PORT = '878787';
process.env.INSTANA_AGENT_PORT = '56002';
process.env.INSTANA_AGENT_HOST = 'instanaagent';
process.env.INSTANA_AGENT_TIMEOUT_MS = '200';
const expectedError = new Error('Instana Agent request timed out.');

nock('http://instanaagent:878787')
nock(
`http://${process.env.INSTANA_AGENT_HOST}:${process.env.INSTANA_AGENT_PORT}`
)
.persist()
.put('/com.instana.plugin.nodejs.discovery')
.delay(500)
Expand Down
2 changes: 1 addition & 1 deletion packages/opentelemetry-sampler-aws-xray/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"eslint": "8.7.0",
"expect": "29.2.0",
"mocha": "7.2.0",
"nock": "13.2.1",
"nock": "13.3.2",
"sinon": "15.0.1",
"ts-mocha": "10.0.0",
"nyc": "15.1.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
"eslint": "8.7.0",
"expect": "29.2.0",
"mocha": "7.2.0",
"nock": "13.2.1",
"nock": "13.3.2",
"nyc": "15.1.0",
"rimraf": "5.0.0",
"sinon": "15.0.1",
Expand Down

0 comments on commit b5fc0c4

Please sign in to comment.