Dodds' DOM Testing Library, which was in turn extracted out of React Testing Library.The intention is to make this available to be used independently of these other libraries, and also to make it more clear that these other libraries are independent from jest, and can be used with other ...
If you are using a different test runner that is compatible with Jest's expect interface, it might be possible to use it with this library:import * as matchers from '@testing-library/jest-dom/matchers' import {expect} from 'my-test-runner/expect' expect.extend(matchers)...
If you are using a different test runner that is compatible with Jest's expect interface, it might be possible to use it with this library:import * as matchers from '@testing-library/jest-dom/matchers' import {expect} from 'my-test-runner/expect' expect.extend(matchers)...
If you are using a different test runner that is compatible with Jest's expect interface, it might be possible to use it with this library:import * as matchers from '@testing-library/jest-dom/matchers' import {expect} from 'my-test-runner/expect' expect.extend(matchers)...