Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
it('should be able to configure Asciidoctor module', () => {
/** @namespace Opal.JAVASCRIPT_PLATFORM.JAVASCRIPT_IO_MODULE.JAVASCRIPT_ENGINE.JAVASCRIPT_FRAMEWORK */
expect(Opal.JAVASCRIPT_IO_MODULE).to.equal('node')
expect(Opal.JAVASCRIPT_PLATFORM).to.equal('node')
expect(Opal.JAVASCRIPT_ENGINE).to.equal('v12')
expect(Opal.JAVASCRIPT_FRAMEWORK).to.equal('lollipop')
const runtime = asciidoctor.getRuntime()
expect(runtime.ioModule).to.equal('node')
expect(runtime.platform).to.equal('node')
expect(runtime.engine).to.equal('v12')
expect(runtime.framework).to.equal('lollipop')
})
})