closeApi.ts 169 B

12345678
  1. import { ApiWrapper } from './apiWrapper'
  2. import tap from 'tap'
  3. export function closeApi(apiWrapper: ApiWrapper) {
  4. tap.teardown(() => {
  5. apiWrapper.close()
  6. })
  7. }