Skip to content

Commit 065b0ae

Browse files
committed
chore: ignore use of done callback
1 parent 5a398f5 commit 065b0ae

File tree

1 file changed

+3
-1
lines changed
  • tests/front-end/unit/lib/framework/component

1 file changed

+3
-1
lines changed

tests/front-end/unit/lib/framework/component/cmd.test.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@ describe("cmd", function () {
4242
});
4343
describe("and the resulting function is called once", function () {
4444
describe("and the debounce duration has passed", function () {
45-
it("returns the dispatch Msg", function (done) {
45+
// eslint-disable-next-line jest/no-done-callback
46+
it("returns the dispatch Msg", async function (done) {
4647
const duration = 300;
4748
const dispatch = makeDebouncedDispatch(duration);
4849
const cmd = dispatch();
@@ -64,6 +65,7 @@ describe("cmd", function () {
6465

6566
describe("and the resulting function is called multiple times during the debounce period", function () {
6667
describe("and the debounce duration has passed", function () {
68+
// eslint-disable-next-line jest/no-done-callback
6769
it("returns the noop Msg on the intermediary call and the dispatch Msg on the final call", function (done) {
6870
const duration = 300;
6971
const dispatch = makeDebouncedDispatch(duration);

0 commit comments

Comments
 (0)