Skip to content

Commit 107f5b1

Browse files
committed
chore: fix linting error
1 parent 092d52f commit 107f5b1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/config.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import {Config, ConfigFn} from '../types/config'
2+
import {TestInstance} from "../types/pure";
23
// import {prettyDOM} from './pretty-dom'
34

45
type Callback<T> = () => T
@@ -31,7 +32,7 @@ let config: InternalConfig = {
3132
throwSuggestions: false,
3233

3334
// called when getBy* queries fail. (message, container) => Error
34-
getInstanceError(message, testInstance) {
35+
getInstanceError(message, testInstance: TestInstance | undefined) {
3536
const error = new Error(
3637
[
3738
message,

0 commit comments

Comments
 (0)