Skip to content

Commit

Permalink
solve merge conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
duncanista committed Mar 20, 2024
2 parents 99154ff + e08ad86 commit 6cc0816
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/metrics/extension.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ describe("isExtensionRunning", () => {
afterEach(() => {
mock.restore();
});
it("returns true when agent exists and responds", async () => {
it("returns true when extension exists and responds", async () => {
mock({
"/opt/extensions/datadog-agent": Buffer.from([0]),
});
const ran = await isExtensionRunning();
expect(ran).toBeTruthy();
});
it("returns false when agent doesn't exist", async () => {
it("returns false when extension doesn't exist", async () => {
mock({});
const scope = nock(EXTENSION_URL).get("/lambda/hello").replyWithError("Unreachable");
const ran = await isExtensionRunning();
Expand Down

0 comments on commit 6cc0816

Please sign in to comment.