import { Context , Test } from "mocha" ; import { testWithPrep } from "./testWithPrep" ; export interface ITestPreparation { pretest ( this ) : ITestPreparationResult ; } export interface ITestPreparationResult { postTestActions ? ( ) : void ; skipTest ? : string ; } export function testWithLog ( expectation , callback ? ) { return testWithPrep ( expectation , [ ] , callback ) ; }