15 lines
385 B
JavaScript
15 lines
385 B
JavaScript
/* eslint-env mocha */
|
|
|
|
const chai = require('chai')
|
|
const expect = chai.expect
|
|
|
|
describe('index', function () {
|
|
it('should export required properties and functions', () => {
|
|
const provider = require('../src/index')
|
|
|
|
expect(provider.type).to.equal('provider')
|
|
expect(provider.name).to.equal('koop-cli-new-provider')
|
|
expect(provider.Model).to.be.a('function')
|
|
})
|
|
})
|