Skip to content

Commit 473c23e

Browse files
Small cleanup.
1 parent 3b6794d commit 473c23e

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

test/integration/instance-lookup-test.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ describe('Instance Lookup Test', function() {
3737

3838
const controller = new AbortController();
3939

40-
let error: unknown;
40+
let error;
4141
try {
4242
await instanceLookup({
4343
server: config.server,
@@ -50,14 +50,13 @@ describe('Instance Lookup Test', function() {
5050
error = err;
5151
}
5252

53-
assert.isDefined(error);
5453
assert.instanceOf(error, Error);
5554
});
5655

5756
it('should test bad Server', async function() {
5857
const controller = new AbortController();
5958

60-
let error: unknown;
59+
let error;
6160
try {
6261
await instanceLookup({
6362
server: RESERVED_IP_ADDRESS,
@@ -70,7 +69,6 @@ describe('Instance Lookup Test', function() {
7069
error = err;
7170
}
7271

73-
assert.isDefined(error);
7472
assert.instanceOf(error, Error);
7573
});
7674
});

0 commit comments

Comments
 (0)