Skip to content

Commit 8b067e7

Browse files
committed
Move integration test to correct folder
1 parent 57eba16 commit 8b067e7

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

packages/dd-trace/test/remote-config/rc-client_id.spec.js renamed to integration-tests/remote-config.spec.js

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
'use strict'
22

3-
require('../setup/tap')
4-
5-
const { createSandbox, FakeAgent, spawnProc } = require('../../../../integration-tests/helpers')
3+
const { createSandbox, FakeAgent, spawnProc } = require('./helpers')
64
const path = require('path')
75
const Axios = require('axios')
86
const { assert } = require('chai')
@@ -11,17 +9,20 @@ describe('Remote config client id', () => {
119
let axios, sandbox, cwd, appFile
1210

1311
before(async function () {
12+
this.timeout(process.platform === 'win32' ? 90000 : 30000)
13+
1414
sandbox = await createSandbox(
1515
['express'],
1616
false,
17-
[path.join(__dirname, 'resources')]
17+
[path.join(__dirname, 'remote-config')]
1818
)
1919

2020
cwd = sandbox.folder
21-
appFile = path.join(cwd, 'resources', 'index.js')
21+
appFile = path.join(cwd, 'remote-config', 'index.js')
2222
})
2323

2424
after(async function () {
25+
this.timeout(60000)
2526
await sandbox.remove()
2627
})
2728

0 commit comments

Comments
 (0)