Format
tests / tests (push) Failing after 5m17s

This commit is contained in:
Jon Staab
2026-06-20 10:36:40 -07:00
parent d2b57c559d
commit 22a666d497
53 changed files with 388 additions and 145 deletions
+8 -1
View File
@@ -49,7 +49,14 @@ describe("Classified", () => {
})
it("defaults the price currency to SAT", async () => {
const c = await Classified.fromEvent(makeEvent({tags: [["d", "x"], ["price", "50"]]}))
const c = await Classified.fromEvent(
makeEvent({
tags: [
["d", "x"],
["price", "50"],
],
}),
)
expect(c.price()).toEqual({amount: 50, currency: "SAT", frequency: ""})
})