Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

typing of expect.objectContaining not generic #3052

Closed
6 tasks done
ArtyMaury opened this issue Mar 21, 2023 · 0 comments · Fixed by #3053
Closed
6 tasks done

typing of expect.objectContaining not generic #3052

ArtyMaury opened this issue Mar 21, 2023 · 0 comments · Fixed by #3053

Comments

@ArtyMaury
Copy link
Contributor

Describe the bug

expect.objectContaining doesn't allow to type the argument.

Reproduction

expect.objectContaining( { } /*any*/)

System Info

System:                                                
    OS: Windows 10 10.0.19045                            
    CPU: (8) x64 Intel(R) Core(TM) i5-8400H CPU @ 2.50GHz
    Memory: 1.68 GB / 15.82 GB                           
  Binaries:                                              
    Node: 16.17.1 - ~\Documents\Programmes\NodeJs\node.EXE
    Yarn: 1.22.19 - ~\Documents\Programmes\NodeJs\yarn.CMD
    npm: 8.19.2 - ~\Documents\Programmes\NodeJs\npm.CMD
  Browsers:
    Chrome: 111.0.5563.65
    Edge: Spartan (44.19041.1266.0), Chromium (111.0.1661.44)
    Internet Explorer: 11.0.19041.1566
  npmPackages:
    @vitejs/plugin-react: ^3.1.0 => 3.1.0
    vite: ^4.2.1 => 4.2.1
    vitest: ^0.29.7 => 0.29.7

Used Package Manager

npm

Validations

@github-actions github-actions bot locked and limited conversation to collaborators Jun 5, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant