summary refs log tree commit diff
path: root/src/m2d/converters/diff-pins.test.js
blob: edb9c4735a05bc537f19e148e12f4800f98b8581 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
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]]
	)
})