mirror of
https://github.com/archtechx/laravel-tips.git
synced 2025-12-12 05:14:04 +00:00
Fix content, add command, update readme
This commit is contained in:
parent
3c3a5fcfd9
commit
69d86147d7
12 changed files with 70 additions and 35 deletions
12
content/tips/create-a-using-helper-in-pest.md
Normal file
12
content/tips/create-a-using-helper-in-pest.md
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
---
|
||||
title: 'Another pest tip: Create a using() helper to get perfect IDE support on $this calls inside your tests'
|
||||
tweet_id: '1426219050250772482'
|
||||
thread_slug: 'Pest Tips'
|
||||
author_username: archtechx
|
||||
images:
|
||||
- 'https://pbs.twimg.com/media/E8ryqTuWEAQT-1H.jpg'
|
||||
created_at: 2021-08-16T19:07:26+02:00
|
||||
slug: 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.
|
||||
Loading…
Add table
Add a link
Reference in a new issue