Skip to content

Hermione expect #887

Answered by MetallIdea
MetallIdea asked this question in Q&A
Mar 27, 2024 · 2 comments · 3 replies
Discussion options

You must be logged in to vote
// expect.d.ts

import {type TestingLibraryMatchers} from '@testing-library/jest-dom/types/matchers';

declare global {
    namespace ExpectWebdriverIO {
        interface Matchers<R = void, T = {}>
            extends TestingLibraryMatchers<R, T>,
                jest.JestMatchers<T> {}
    }
}

а вот так вроде все нормально, спасибо за помощь!

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@KuznetsovRoman
Comment options

@MetallIdea
Comment options

@MetallIdea
Comment options

Answer selected by MetallIdea
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants