Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Exelord committed Aug 22, 2021
1 parent e72b193 commit 3d01786
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/utils/on.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ describe("on", () => {

root(() => {
reactive(
on(getAtom, (value) => {
on(getAtom, (value?: number) => {
spy(value);
return getAtom2();
})
Expand Down Expand Up @@ -44,7 +44,7 @@ describe("on", () => {
reactive(
on(
getAtom,
(value) => {
(value?: number) => {
spy(value);
return getAtom2();
},
Expand Down

0 comments on commit 3d01786

Please sign in to comment.