rs-diff/__test__/index.spec.js
2020-08-25 11:10:05 +08:00

12 lines
217 B
JavaScript

const test = require('ava')
const { diff } = require('../index')
test('diff', (t) => {
const left = 'asd'
const right = 'asd'
const result = diff(left, right)
console.log(result)
t.is(result.length, 1)
})