Skip to content

Commit 8585f47

Browse files
committed
lint and format
1 parent 2794f19 commit 8585f47

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/metrics/listener.spec.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { EXTENSION_URL } from "./extension";
77
import { MetricsListener } from "./listener";
88
import StatsDClient from "hot-shots";
99
jest.mock("hot-shots");
10-
jest.requireActual("../utils/request")
10+
jest.requireActual("../utils/request");
1111

1212
const siteURL = "example.com";
1313

@@ -185,10 +185,10 @@ describe("MetricsListener", () => {
185185
siteURL,
186186
});
187187
await listener.onStartInvocation({});
188-
})
188+
});
189189
afterEach(() => {
190190
listener = undefined;
191-
})
191+
});
192192
it("calls flush on the agent", async () => {
193193
const scope = nock(EXTENSION_URL).post("/lambda/flush", JSON.stringify({})).reply(200);
194194
await listener!["_localFlush"]();

src/metrics/listener.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ export class MetricsListener {
196196
private async _localFlush() {
197197
try {
198198
if (this.isExtensionRunning && this.config.localTesting) {
199-
const { post } = require("../utils/request")
199+
const { post } = require("../utils/request");
200200
const url = new URL(LOCAL_FLUSH_PATH, EXTENSION_URL);
201201
const result = await post(url, {}, { timeout: LOCAL_FLUSH_TIMEOUT_MS });
202202
if (!result.success) {

0 commit comments

Comments
 (0)