async-openssl
Version:
Async OpenSSL wrapper module for nodejs
12 lines (10 loc) • 357 B
JavaScript
const chai = require('chai');
const expect = chai.expect;
const chaiAsPromised = require('chai-as-promised');
chai.use(chaiAsPromised);
describe('openssl', function() {
it('should be accessed without errors', async function() {
const openssl = require('../src/index.js');
await expect(openssl('version')).to.not.be.rejectedWith(Error);
});
});