12 lines
217 B
JavaScript
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)
|
|
})
|