Jest mock class constructor with parameters. If you use the spec or spec_set arguments then only magic methods that exist in the spec will be created.
確定! 回上一頁