Skip to content

Commit

Permalink
test: remove unused unit test.
Browse files Browse the repository at this point in the history
  • Loading branch information
rzvxa committed Jan 3, 2024
1 parent 158f417 commit 07f7660
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions tests/dwait.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -152,13 +152,6 @@ describe("dwait Tests", () => {
expect(dwaitPromise1).toBe(dwaitPromise2);
});

test("should return the same DeferredPromise as long as a reference of that DeferredPromise exists on the heap", async () => {
const klass = resolveClass();
const dwaitPromise1 = dwait(klass);
const dwaitPromise2 = dwait(klass);
expect(dwaitPromise1).toBe(dwaitPromise2);
});

test("should throw on accessing properties on null or undefined deferred operations", async () => {
const nullPromise = dwait(null)[NUMBER];
const undefinedPromise = dwait(undefined)[NUMBER];
Expand Down

0 comments on commit 07f7660

Please sign in to comment.