mirror of
https://github.com/archtechx/laravel-tips.git
synced 2025-12-12 13:24:03 +00:00
503 B
503 B
| title | tweet_id | thread_slug | author_username | images | created_at | slug | |
|---|---|---|---|---|---|---|---|
| Another pest tip: Create a using() helper to get perfect IDE support on $this calls inside your tests | 1426219050250772482 | Pest Tips | archtechx |
|
2021-08-16T19:07:26+02:00 | create-a-using-helper-in-pest |
Out of the box, @pestphp has amazing IDE support for the expect()->toBe() syntax, but sometimes you need to use $this — usually for things like HTTP calls.