From 39125943ec21f290423ffc60e58d33e1cd4d795a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Valverd=C3=A9?= Date: Sun, 22 Mar 2026 01:46:30 +0100 Subject: [PATCH] Fix tests --- packages/effect-fc/src/PropertyPath.test.ts | 8 +------- packages/effect-fc/src/SubscriptionSubRef.test.ts | 2 +- 2 files changed, 2 insertions(+), 8 deletions(-) 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", () => {