Skip to content

Commit

Permalink
Re-enable all unit tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Schröder committed Dec 30, 2024
1 parent 49bad3b commit 5210687
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/connectionTest.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class TranslationMock implements Translate {
}
}

describe.only("connectionTest", function () {
describe("connectionTest", function () {
describe("Name resolution", function () {
it(`something.invalid should not be resolved`, async function () {
const sut = new ConnectionTest(new TranslationMock());
Expand All @@ -55,10 +55,10 @@ describe.only("connectionTest", function () {
expect(result).to.be.equal("127.0.0.1");
});

it(`localhost should be resolved to 127.0.0.1`, async function () {
it(`localhost should be resolved to 127.0.0.1 (or ::1)`, async function () {
const sut = new ConnectionTest(new TranslationMock());
const result = await sut.resolveName("localhost");
expect(result).to.be.equal("127.0.0.1");
expect(result).to.be.oneOf(["127.0.0.1", "::1"]);
});
});

Expand Down

0 comments on commit 5210687

Please sign in to comment.