@testing-library/dom version: 7.22.6
- Testing Framework and version: [email protected]
- DOM Environment: jsdom 16.4.0
Relevant code or config:
import { configure } from '@testing-library/react';
configure({ showOriginalStackTrace: false });
What you did:
I was going to configure the showOriginalStackTrace option and
What happened:
I got the following typescript error:
Argument of type '{ showOriginalStackTrace: boolean; }' is not assignable to parameter of type 'Partial<Config> | ConfigFn'.
Object literal may only specify known properties, and 'showOriginalStackTrace' does not exist in type 'Partial<Config> | ConfigFn'
Problem description:
The Config interface contains a typo:
|
showOriginalStrackTrace: boolean |
Suggested solution:
Change showOriginalStrackTrace to showOriginalStackTrace.
@testing-library/domversion: 7.22.6Relevant code or config:
What you did:
I was going to configure the showOriginalStackTrace option and
What happened:
I got the following typescript error:
Problem description:
The Config interface contains a typo:
dom-testing-library/types/config.d.ts
Line 8 in 741096b
Suggested solution:
Change showOriginalStrackTrace to showOriginalStackTrace.