diff --git a/packages/datadog-plugin-express/test/integration-test/client.spec.js b/packages/datadog-plugin-express/test/integration-test/client.spec.js index 15066ebbda1..ef54250cf31 100644 --- a/packages/datadog-plugin-express/test/integration-test/client.spec.js +++ b/packages/datadog-plugin-express/test/integration-test/client.spec.js @@ -36,7 +36,7 @@ describe('esm', () => { }) it('is instrumented', async () => { - process.env.DD_TRACE_MIDDLEWARE_ENABLED = true + delete process.env.DD_TRACE_MIDDLEWARE_ENABLED proc = await spawnPluginIntegrationTestProc(sandbox.folder, 'server.mjs', agent.port) const numberOfSpans = semver.intersects(version, '<5.0.0') ? 4 : 3