gsoft-inc / sg-orbit

The design system for ShareGate web apps.
https://orbit.sharegate.design
Apache License 2.0
101 stars 37 forks source link

Toggle testing-library/prefer-presence-queries #1101

Closed alexasselin008 closed 1 year ago

alexasselin008 commented 1 year ago

The (DOM) Testing Library allows to query DOM elements using different types of queries such as get and query. Using get throws an error in case the element is not found, while query returns null instead of throwing (or empty array for queryAllBy* ones). These differences are useful in some situations:

Related to https://github.com/gsoft-inc/sg-orbit/issues/1099

netlify[bot] commented 1 year ago

Deploy Preview for sg-orbit ready!

Name Link
Latest commit 20d5f79407770daa5696b34a3261d97728856af2
Latest deploy log https://app.netlify.com/sites/sg-orbit/deploys/63c6f54f4f43f400082c92a7
Deploy Preview https://deploy-preview-1101--sg-orbit.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 settings.

netlify[bot] commented 1 year ago

Deploy Preview for sg-storybook ready!

Name Link
Latest commit 20d5f79407770daa5696b34a3261d97728856af2
Latest deploy log https://app.netlify.com/sites/sg-storybook/deploys/63c6f54feaf3590008a31dfd
Deploy Preview https://deploy-preview-1101--sg-storybook.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 settings.