rs-diff/__test__/index.spec.js

12 lines
217 B
JavaScript
Raw Normal View History

2020-08-14 08:11:58 +00:00
const test = require('ava')
2020-08-25 03:10:05 +00:00
const { diff } = require('../index')
2020-08-14 08:11:58 +00:00
2020-08-25 03:10:05 +00:00
test('diff', (t) => {
const left = 'asd'
const right = 'asd'
const result = diff(left, right)
console.log(result)
t.is(result.length, 1)
2020-08-14 08:11:58 +00:00
})