Skip to content

Commit

Permalink
Add necessary cleanup to unit test
Browse files Browse the repository at this point in the history
Co-authored-by: Jonas Jenwald <jonas.jenwald@gmail.com>
  • Loading branch information
alexcat3 and Snuffleupagus authored Jul 5, 2024
1 parent 217813a commit fcabc61
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/unit/api_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -3430,6 +3430,8 @@ Caron Broadcasting, Inc., an Ohio corporation (“Lessee”).`)
});
const text = mergeText(items);
expect(text).toEqual("Hello world!");

await loadingTask.destroy();
});

it("gets text content, and check that out-of-page text is not present (bug 1755201)", async function () {
Expand Down

0 comments on commit fcabc61

Please sign in to comment.