Skip to content

Commit f3f8800

Browse files
committed
fix test types
1 parent c197cab commit f3f8800

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

packages/atom-react/test/index.test.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,13 +180,15 @@ describe("atom-react", () => {
180180
const atomResult2 = makeAtomResult("errored")
181181
const atomResult3 = makeAtomResult("pending")
182182

183-
const dehydratedState: Array<Hydration.DehydratedAtom> = [
183+
const dehydratedState: Array<Hydration.DehydratedAtomValue> = [
184184
{
185+
"~@effect-atom/atom/DehydratedAtom": true,
185186
key: "basic",
186187
value: 1,
187188
dehydratedAt: Date.now()
188189
},
189190
{
191+
"~@effect-atom/atom/DehydratedAtom": true,
190192
key: "success",
191193
value: {
192194
_tag: "Success",
@@ -197,6 +199,7 @@ describe("atom-react", () => {
197199
dehydratedAt: Date.now()
198200
},
199201
{
202+
"~@effect-atom/atom/DehydratedAtom": true,
200203
key: "errored",
201204
value: {
202205
_tag: "Failure",
@@ -212,6 +215,7 @@ describe("atom-react", () => {
212215
dehydratedAt: Date.now()
213216
},
214217
{
218+
"~@effect-atom/atom/DehydratedAtom": true,
215219
key: "pending",
216220
value: {
217221
_tag: "Initial",

0 commit comments

Comments
 (0)