UNPKG

explicit

Version:

System to explicitly specify the way a method works.

16 lines (13 loc) 294 B
'use strict' const { expect } = require('chai') const explicit = require('../..') const noop = () => {} describe('Async definitions', () => { it('should be marked async', done => { expect(explicit.async({ $one: true, $: noop }).$async).to.equal(true) done() }) })