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

docs(selectFile): readFile & fixture should use null instead of { encoding: null } #5563

Merged
merged 1 commit into from
Nov 16, 2023

Conversation

ronny1020
Copy link
Contributor

The null should not wrapped in the { encoding: null }, which would cause a type error.

reference: https://docs.cypress.io/api/commands/fixture#Syntax

`null` should not wrapped in the `{ encoding: null }`, which would cause a type error.
Copy link

netlify bot commented Nov 15, 2023

👷 Deploy request for cypress-docs pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 1f1097d

Copy link

netlify bot commented Nov 15, 2023

Deploy Preview for benevolent-cat-040f48 ready!

Name Link
🔨 Latest commit 1f1097d
🔍 Latest deploy log https://app.netlify.com/sites/benevolent-cat-040f48/deploys/65549097d08ebd0008db3b04
😎 Deploy Preview https://deploy-preview-5563--benevolent-cat-040f48.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@CLAassistant
Copy link

CLAassistant commented Nov 15, 2023

CLA assistant check
All committers have signed the CLA.

@cypress-app-bot
Copy link
Collaborator

@ronny1020 ronny1020 changed the title docs: use null instead of { encoding: null } docs(selectFile): use null instead of { encoding: null } Nov 15, 2023
@ronny1020 ronny1020 changed the title docs(selectFile): use null instead of { encoding: null } docs(selectFile): fixture should use null instead of { encoding: null } Nov 15, 2023
@ronny1020 ronny1020 changed the title docs(selectFile): fixture should use null instead of { encoding: null } docs(selectFile): readFile & fixture should use null instead of { encoding: null } Nov 15, 2023
@emilyrohrbough
Copy link
Member

@ronny1020 nice catch! thank you! 🙏🏻

@emilyrohrbough emilyrohrbough merged commit 39f71b3 into cypress-io:main Nov 16, 2023
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants