0.2.5 #43

Merged
Thilawyn merged 94 commits from next into master 2026-03-31 21:01:13 +02:00
2 changed files with 2 additions and 8 deletions
Showing only changes of commit 39125943ec - Show all commits

View File

@@ -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)

View File

@@ -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", () => {