Sync pins back from Matrix to Discord

This commit is contained in:
Cadence Ember 2025-01-07 12:23:39 +13:00
commit 06b6a63ee3
6 changed files with 87 additions and 0 deletions

View file

@ -0,0 +1,11 @@
// @ts-check
const {test} = require("supertape")
const diffPins = require("./diff-pins")
test("diff pins: diff is as expected", t => {
t.deepEqual(
diffPins.diffPins(["same", "new"], ["same", "old"]),
[["old", false], ["new", true]]
)
})