import { Recorder } from "@azure-tools/test-recorder" ; import * as assert from "assert" ; import { createRecorder } from "./utils/recordedClient" ; describe ( "My test" , ( ) => { let recorder ; beforeEach ( async function ( ) { recorder = createRecorder ( this ) ; } ) ; afterEach ( async function ( ) { await recorder . stop ( ) ; } ) ; it ( "sample test" , async function ( ) { console . log ( "Hi, I'm a test!" ) ; } ) ; } ) ;