Skip to content

Commit

Permalink
Fix nodejs-esm test
Browse files Browse the repository at this point in the history
  • Loading branch information
gamingrobot committed Feb 9, 2024
1 parent 616528b commit 2900621
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public async Task When_injected_then_pod_should_have_agent_injection_environment
{
var container = result.Spec.Containers.Should().ContainSingle().Subject;
container.Env.Should().Contain(x => x.Name == "NODE_OPTIONS")
.Which.Value.Should().Be("--import /contrast/agent/node_modules/@contrast/agent");
.Which.Value.Should().Be("--import /contrast/agent/node_modules/@contrast/agent/lib/esm-loader.mjs");
container.Env.Should().Contain(x => x.Name == "CONTRAST__AGENT__LOGGER__PATH")
.Which.Value.Should().Be("/contrast/data/logs/contrast_agent.log");
}
Expand Down

0 comments on commit 2900621

Please sign in to comment.