Skip to content

Commit

Permalink
Merge remote-tracking branch 'main/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
BlueWinds committed Nov 21, 2022
2 parents 3be2a9c + 8d66009 commit 9a49d22
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 20 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/validate.yml
Expand Up @@ -16,7 +16,7 @@ jobs:
if: ${{ !contains(github.head_ref, 'all-contributors') }}
strategy:
matrix:
node: [12, 14, 16]
node: [12, 14, 16, 18]
runs-on: ubuntu-latest
steps:
- name: 馃洃 Cancel Previous Runs
Expand Down
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -128,7 +128,7 @@ cy.configureCypressTestingLibrary(config)
```

To show some simple examples (from
[cypress/integration/find.spec.js](cypress/integration/find.spec.js)):
[cypress/e2e/find.cy.js](cypress/e2e/find.cy.js)):

```javascript
cy.findAllByText('Button Text').should('exist')
Expand Down
4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -44,13 +44,13 @@
"@testing-library/dom": "^8.1.0"
},
"devDependencies": {
"cypress": "https://cdn.cypress.io/beta/npm/12.0.0/linux-x64/release/12.0.0-4db85d690e8439ef4d2397238ab069d557b2e818/cypress.tgz",
"cypress": "https://cdn.cypress.io/beta/npm/12.0.0/linux-x64/release/12.0.0-79ea4537649ec49b72286fc6ba48089a0b9ff879/cypress.tgz",
"kcd-scripts": "^11.2.0",
"npm-run-all": "^4.1.5",
"typescript": "^4.3.5"
},
"peerDependencies": {
"cypress": "^2.1.0 || ^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0 || ^9.0.0 || ^10.0.0"
"cypress": "^12.0.0"
},
"eslintConfig": {
"extends": "./node_modules/kcd-scripts/eslint.js",
Expand Down
1 change: 1 addition & 0 deletions src/index.js
Expand Up @@ -41,6 +41,7 @@ function createQuery(queryName, implementationName) {
? 'child'
: 'parent',
message: inputArr,
timeout: options.timeout,
consoleProps: () => consoleProps,
})

Expand Down
32 changes: 16 additions & 16 deletions types/index.d.ts
Expand Up @@ -30,7 +30,7 @@ declare global {
* dom-testing-library helpers for Cypress
*
* `findBy*` APIs search for an element and throw an error if nothing found
* `findAllBy*` APIs search for all elements and an error if nothing found
* `findAllBy*` APIs search for all elements and throw an error if nothing found
*
* @see https://github.com/testing-library/cypress-testing-library#usage
* @see https://github.com/testing-library/dom-testing-library#table-of-contents
Expand All @@ -44,7 +44,7 @@ declare global {
* dom-testing-library helpers for Cypress
*
* `findBy*` APIs search for an element and throw an error if nothing found
* `findAllBy*` APIs search for all elements and an error if nothing found
* `findAllBy*` APIs search for all elements and throw an error if nothing found
*
* @see https://github.com/testing-library/cypress-testing-library#usage
* @see https://github.com/testing-library/dom-testing-library#table-of-contents
Expand All @@ -58,7 +58,7 @@ declare global {
* dom-testing-library helpers for Cypress
*
* `findBy*` APIs search for an element and throw an error if nothing found
* `findAllBy*` APIs search for all elements and an error if nothing found
* `findAllBy*` APIs search for all elements and throw an error if nothing found
*
* @see https://github.com/testing-library/cypress-testing-library#usage
* @see https://github.com/testing-library/dom-testing-library#table-of-contents
Expand All @@ -72,7 +72,7 @@ declare global {
* dom-testing-library helpers for Cypress
*
* `findBy*` APIs search for an element and throw an error if nothing found
* `findAllBy*` APIs search for all elements and an error if nothing found
* `findAllBy*` APIs search for all elements and throw an error if nothing found
*
* @see https://github.com/testing-library/cypress-testing-library#usage
* @see https://github.com/testing-library/dom-testing-library#table-of-contents
Expand All @@ -86,7 +86,7 @@ declare global {
* dom-testing-library helpers for Cypress
*
* `findBy*` APIs search for an element and throw an error if nothing found
* `findAllBy*` APIs search for all elements and an error if nothing found
* `findAllBy*` APIs search for all elements and throw an error if nothing found
*
* @see https://github.com/testing-library/cypress-testing-library#usage
* @see https://github.com/testing-library/dom-testing-library#table-of-contents
Expand All @@ -100,7 +100,7 @@ declare global {
* dom-testing-library helpers for Cypress
*
* `findBy*` APIs search for an element and throw an error if nothing found
* `findAllBy*` APIs search for all elements and an error if nothing found
* `findAllBy*` APIs search for all elements and throw an error if nothing found
*
* @see https://github.com/testing-library/cypress-testing-library#usage
* @see https://github.com/testing-library/dom-testing-library#table-of-contents
Expand All @@ -114,7 +114,7 @@ declare global {
* dom-testing-library helpers for Cypress
*
* `findBy*` APIs search for an element and throw an error if nothing found
* `findAllBy*` APIs search for all elements and an error if nothing found
* `findAllBy*` APIs search for all elements and throw an error if nothing found
*
* @see https://github.com/testing-library/cypress-testing-library#usage
* @see https://github.com/testing-library/dom-testing-library#table-of-contents
Expand All @@ -125,7 +125,7 @@ declare global {
* dom-testing-library helpers for Cypress
*
* `findBy*` APIs search for an element and throw an error if nothing found
* `findAllBy*` APIs search for all elements and an error if nothing found
* `findAllBy*` APIs search for all elements and throw an error if nothing found
*
* @see https://github.com/testing-library/cypress-testing-library#usage
* @see https://github.com/testing-library/dom-testing-library#table-of-contents
Expand All @@ -136,7 +136,7 @@ declare global {
* dom-testing-library helpers for Cypress
*
* `findBy*` APIs search for an element and throw an error if nothing found
* `findAllBy*` APIs search for all elements and an error if nothing found
* `findAllBy*` APIs search for all elements and throw an error if nothing found
*
* @see https://github.com/testing-library/cypress-testing-library#usage
* @see https://github.com/testing-library/dom-testing-library#table-of-contents
Expand All @@ -147,7 +147,7 @@ declare global {
* dom-testing-library helpers for Cypress
*
* `findBy*` APIs search for an element and throw an error if nothing found
* `findAllBy*` APIs search for all elements and an error if nothing found
* `findAllBy*` APIs search for all elements and throw an error if nothing found
*
* @see https://github.com/testing-library/cypress-testing-library#usage
* @see https://github.com/testing-library/dom-testing-library#table-of-contents
Expand All @@ -158,7 +158,7 @@ declare global {
* dom-testing-library helpers for Cypress
*
* `findBy*` APIs search for an element and throw an error if nothing found
* `findAllBy*` APIs search for all elements and an error if nothing found
* `findAllBy*` APIs search for all elements and throw an error if nothing found
*
* @see https://github.com/testing-library/cypress-testing-library#usage
* @see https://github.com/testing-library/dom-testing-library#table-of-contents
Expand All @@ -169,7 +169,7 @@ declare global {
* dom-testing-library helpers for Cypress
*
* `findBy*` APIs search for an element and throw an error if nothing found
* `findAllBy*` APIs search for all elements and an error if nothing found
* `findAllBy*` APIs search for all elements and throw an error if nothing found
*
* @see https://github.com/testing-library/cypress-testing-library#usage
* @see https://github.com/testing-library/dom-testing-library#table-of-contents
Expand All @@ -180,7 +180,7 @@ declare global {
* dom-testing-library helpers for Cypress
*
* `findBy*` APIs search for an element and throw an error if nothing found
* `findAllBy*` APIs search for all elements and an error if nothing found
* `findAllBy*` APIs search for all elements and throw an error if nothing found
*
* @see https://github.com/testing-library/cypress-testing-library#usage
* @see https://github.com/testing-library/dom-testing-library#table-of-contents
Expand All @@ -194,7 +194,7 @@ declare global {
* dom-testing-library helpers for Cypress
*
* `findBy*` APIs search for an element and throw an error if nothing found
* `findAllBy*` APIs search for all elements and an error if nothing found
* `findAllBy*` APIs search for all elements and throw an error if nothing found
*
* @see https://github.com/testing-library/cypress-testing-library#usage
* @see https://github.com/testing-library/dom-testing-library#table-of-contents
Expand All @@ -208,7 +208,7 @@ declare global {
* dom-testing-library helpers for Cypress
*
* `findBy*` APIs search for an element and throw an error if nothing found
* `findAllBy*` APIs search for all elements and an error if nothing found
* `findAllBy*` APIs search for all elements and throw an error if nothing found
*
* @see https://github.com/testing-library/cypress-testing-library#usage
* @see https://github.com/testing-library/dom-testing-library#table-of-contents
Expand All @@ -219,7 +219,7 @@ declare global {
* dom-testing-library helpers for Cypress
*
* `findBy*` APIs search for an element and throw an error if nothing found
* `findAllBy*` APIs search for all elements and an error if nothing found
* `findAllBy*` APIs search for all elements and throw an error if nothing found
*
* @see https://github.com/testing-library/cypress-testing-library#usage
* @see https://github.com/testing-library/dom-testing-library#table-of-contents
Expand Down

0 comments on commit 9a49d22

Please sign in to comment.