Skip to content

Commit d7991cd

Browse files
committed
lint
1 parent c5a7f41 commit d7991cd

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

packages/modules/mockserver/src/mockserver-container.test.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,13 @@ describe("MockserverContainer", { timeout: 240_000 }, () => {
3131
expect(response.text).toBe("bar");
3232
});
3333
// }
34-
34+
3535
it("should return an https url", async () => {
3636
const container = await new MockserverContainer(IMAGE).start();
37-
const secureUrl = container.getSecureUrl()
38-
await container.stop()
39-
expect(secureUrl.startsWith("https://")).to.equal(true, `${secureUrl} does not start with https://`)
40-
})
37+
const secureUrl = container.getSecureUrl();
38+
await container.stop();
39+
expect(secureUrl.startsWith("https://")).to.equal(true, `${secureUrl} does not start with https://`);
40+
});
4141

4242
// httpsRequests {
4343
it("should respond to https requests", async () => {
@@ -57,13 +57,13 @@ describe("MockserverContainer", { timeout: 240_000 }, () => {
5757
},
5858
});
5959

60-
const secureUrl = container.getSecureUrl()
60+
const secureUrl = container.getSecureUrl();
6161
const response = await superagent.get(`${secureUrl}/foo`).disableTLSCerts();
6262

6363
expect(response.statusCode).toBe(200);
6464
expect(response.text).toBe("bar");
6565

66-
await container.stop()
67-
})
66+
await container.stop();
67+
});
6868
// }
6969
});

packages/modules/mockserver/src/mockserver-container.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export class StartedMockserverContainer extends AbstractStartedContainer {
1010
}
1111

1212
getSecureUrl(): string {
13-
return `https://${this.getHost()}:${this.getFirstMappedPort()}`
13+
return `https://${this.getHost()}:${this.getFirstMappedPort()}`;
1414
}
1515
}
1616

0 commit comments

Comments
 (0)