We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 99154ff + e08ad86 commit 6cc0816Copy full SHA for 6cc0816
src/metrics/extension.spec.ts
@@ -7,14 +7,14 @@ describe("isExtensionRunning", () => {
7
afterEach(() => {
8
mock.restore();
9
});
10
- it("returns true when agent exists and responds", async () => {
+ it("returns true when extension exists and responds", async () => {
11
mock({
12
"/opt/extensions/datadog-agent": Buffer.from([0]),
13
14
const ran = await isExtensionRunning();
15
expect(ran).toBeTruthy();
16
17
- it("returns false when agent doesn't exist", async () => {
+ it("returns false when extension doesn't exist", async () => {
18
mock({});
19
const scope = nock(EXTENSION_URL).get("/lambda/hello").replyWithError("Unreachable");
20
0 commit comments