import { ISuiteCallbackContext } from 'mocha' ; export const specification = ( name , callback ) => { return describe ( `Specification: ${ name }` , callback ) ; } ; export const when = ( condition , callback ) => { return describe ( `when ${ condition }` , callback ) ; } ; export const then = ( condition , callback ) => { return it ( `then ${ condition }` , callback ) ; } ; export const action = before ;