Skip to content

Commit

Permalink
fix: remove Deno.resources
Browse files Browse the repository at this point in the history
  • Loading branch information
uki00a committed Feb 10, 2024
1 parent 17dbe3c commit fbef003
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions tests/commands/connection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,14 +101,11 @@ export function connectionTests(
describe("createLazyClient", () => {
it("returns the lazily connected client", async () => {
const opts = getOpts();
const resources = Deno.resources();
const client = createLazyClient(opts);
assert(!client.isConnected);
assertEquals(resources, Deno.resources());
try {
await client.get("foo");
assert(client.isConnected);
assertNotEquals(resources, Deno.resources());
} finally {
client.close();
}
Expand Down

0 comments on commit fbef003

Please sign in to comment.