uci-utils-ready/test/ready.test.js

16 lines
323 B
JavaScript

import { expect } from 'chai'
import Ready from '../src/ready'
describe('', function () {
it('Should include custom types', function () {
expect(u.isBuffer(Buffer.from('this is a test'))).to.equal(true)
})
it('Should load typechecker', function () {
expect(u.isPlainObject([1])).to.equal(false)
})
})