Skip to content
This repository has been archived by the owner on May 22, 2024. It is now read-only.

Commit

Permalink
fix: remove mocha type reference
Browse files Browse the repository at this point in the history
  • Loading branch information
jdx committed May 7, 2018
1 parent 6b45a10 commit 3998b46
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
// tslint:disable no-unused

import * as _ from 'lodash'
import * as mocha from 'mocha'

import * as Types from './types'

Expand All @@ -20,7 +19,7 @@ const base = <I extends Types.Context>(context: I): Types.Base<I, {}> => {
arg1 = undefined
}
if (!arg1) arg1 = context.expectation || 'test'
async function run(this: mocha.ITestCallbackContext, done?: Types.MochaDone) {
async function run(this: Types.ITestCallbackContext, done?: Types.MochaDone) {
context = assignWithProps({}, originalContext)
if (context.retries) this.retries(context.retries)
if (cb) {
Expand Down

0 comments on commit 3998b46

Please sign in to comment.