diff --git a/packages/effect-fc/src/PropertyPath.test.ts b/packages/effect-fc/src/PropertyPath.test.ts index aef2cf0..4c68a38 100644 --- a/packages/effect-fc/src/PropertyPath.test.ts +++ b/packages/effect-fc/src/PropertyPath.test.ts @@ -1,6 +1,6 @@ import { describe, expect, test } from "bun:test" import { Option } from "effect" -import * as PropertyPath from "./PropertyPath.ts" +import * as PropertyPath from "./PropertyPath.js" describe("immutableSet with arrays", () => { @@ -59,12 +59,6 @@ describe("immutableSet with arrays", () => { expect(result).toEqual(Option.none()) }) - test("curried form works with arrays", () => { - const setSecond = PropertyPath.immutableSet([1], 42) - const result = setSecond([10, 20, 30]) - expect(result).toEqual(Option.some([10, 42, 30])) - }) - test("empty path returns Option.some of the value itself", () => { const arr = [1, 2, 3] const result = PropertyPath.immutableSet(arr, [], [9, 9, 9] as any) diff --git a/packages/effect-fc/src/SubscriptionSubRef.test.ts b/packages/effect-fc/src/SubscriptionSubRef.test.ts index e0a8a9d..4db616c 100644 --- a/packages/effect-fc/src/SubscriptionSubRef.test.ts +++ b/packages/effect-fc/src/SubscriptionSubRef.test.ts @@ -1,6 +1,6 @@ import { describe, expect, test } from "bun:test" import { Chunk, Effect, Ref, SubscriptionRef } from "effect" -import * as SubscriptionSubRef from "./SubscriptionSubRef.ts" +import * as SubscriptionSubRef from "./SubscriptionSubRef.js" describe("SubscriptionSubRef with array refs", () => {