expect(bar).toEqual(
expect.objectContaining({
symbol: `BTC`,
interval: `hour`,
timestamp: expect.any(Number),
o: expect.any(Number),
h: expect.any(Number),
l: expect.any(Number),
c: expect.any(Number),
v: expect.any(Number)
})
);But for larger and more complex projects, I tend to use Vitest these days. At 40MBs down, and most of the dependency weight falling to Vite (33MBs and something I likely already have installed directly), it's not too heavy of a dependency.
new Error("something bad happened", {cause:innerException})
They are nature’s love songs, composed to seduce insects. All this beauty is a grand performance, meant to charm bugs into becoming messengers of life, carrying pollen from bloom to bloom.
Bees, though precious, are just one part of this ancient dance. Moths, beetles, butterflies, each plays a role in this quiet symphony of survival.
And yet, this balance is being disrupted. Greedy and short-sighted actions are damaging ecosystems that are far more complex than we understand.
But here’s the humbling part: Nature will endure. She always has. She’ll shake us off like dust, heal in silence, and bloom again with or without witnesses.
As in, fixing things during a scaleup phase when business has been working for a while and the original improvised systems are breaking, but you can’t stop business to repair.
Currently undergoing a similar project and would really appreciate any resource thrown my way, both purely technical and/or for interfacing with accounting people with no hybrid roles to bridge the domain gap.
1) Learned the basic concepts of double-entry bookkeeping. 2) Told ChatGPT about my business domain and requested an example Chart of Accounts (CoA) tailored to it.
Feel free to reach out to me, I’d love to exchange ideas.