mirror of
https://gitdab.com/cadence/out-of-your-element.git
synced 2025-09-10 12:22:50 +02:00
Sync pins back from Matrix to Discord
This commit is contained in:
parent
4c62124cee
commit
06b6a63ee3
6 changed files with 87 additions and 0 deletions
11
src/m2d/converters/diff-pins.test.js
Normal file
11
src/m2d/converters/diff-pins.test.js
Normal 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]]
|
||||
)
|
||||
})
|
Loading…
Add table
Add a link
Reference in a new issue