Fix compile
This commit is contained in:
parent
340c347841
commit
c4da1426b1
5 changed files with 6 additions and 16 deletions
|
|
@ -101,18 +101,6 @@ describe("FetchController", () => {
|
|||
assert.strictEqual(await response.text(), "OK");
|
||||
});
|
||||
|
||||
it("should throw when finishing reset without starting", () => {
|
||||
const logger = new Logger();
|
||||
const controller = new FetchController(true, logger);
|
||||
|
||||
assert.throws(
|
||||
() => { controller.finishReset(); },
|
||||
(error: unknown) =>
|
||||
error instanceof Error &&
|
||||
error.message === "Cannot finish reset when not resetting"
|
||||
);
|
||||
});
|
||||
|
||||
it("should defer canFetch changes during reset", async () => {
|
||||
const logger = new Logger();
|
||||
const controller = new FetchController(false, logger);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue