Skip to content

Commit 021bda1

Browse files
committed
lint:fix
1 parent 1ae93b1 commit 021bda1

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

reactiveweb/src/debounce.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ export function debounce<Value = unknown>(ms: number, thunk: () => Value) {
6969

7070
on.cleanup(() => {
7171
if (timer) {
72-
clearTimeout(timer)
72+
clearTimeout(timer);
7373
}
7474
});
7575

tests/test-app/tests/utils/debounce/js-test.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,11 @@ module('Utils | debounce | js', function (hooks) {
3131

3232
await timeout(50);
3333

34-
assert.strictEqual(test.debouncedValue, test.value, `Value is "${test.debouncedValue}" after ~100ms`);
34+
assert.strictEqual(
35+
test.debouncedValue,
36+
test.value,
37+
`Value is "${test.debouncedValue}" after ~100ms`
38+
);
3539
});
3640
});
3741
});

0 commit comments

Comments
 (0)