Skip to content

Commit

Permalink
Updates docs and @types/node (#5534)
Browse files Browse the repository at this point in the history
* remove @types/node resolution

* fix playwright config import error

* fix react batching workaround

* update docs for running integration tests

* Revert "fix react batching workaround"

This reverts commit c0ea6a6.

---------

Co-authored-by: Dalibor Tosic <dalibortosic00@gmail.com>
Co-authored-by: Nikola <nikolabijelic14@gmail.com>
  • Loading branch information
3 people authored Oct 24, 2023
1 parent 7c4c60e commit 1d817bc
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 7 deletions.
2 changes: 1 addition & 1 deletion docs/general/contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ This will fix Prettier and Eslint errors.

## Running integration tests

To run integrations with [Playwright](https://playwright.dev/), first run `yarn start` to run the examples website, then run `yarn test:integration` in a separate session to open the Playwright test suite.
To run integrations with [Playwright](https://playwright.dev/), first run `yarn start` to run the examples website, then run `yarn playwright` in a separate session to open the Playwright test suite. Or alternatively, run just `yarn test:integration-local`.

## Testing Input Methods

Expand Down
5 changes: 1 addition & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,5 @@
"eslint --fix"
]
},
"packageManager": "yarn@3.6.4",
"resolutions": {
"@types/node": "20.8.7"
}
"packageManager": "yarn@3.6.4"
}
2 changes: 1 addition & 1 deletion playwright.config.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { PlaywrightTestConfig } from '@playwright/test'
import { devices } from '@playwright/test'
import os from 'os'
import * as os from 'os'

const projects = [
{
Expand Down
9 changes: 8 additions & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3472,7 +3472,7 @@ __metadata:
languageName: node
linkType: hard

"@types/node@npm:20.8.7":
"@types/node@npm:*, @types/node@npm:^20.8.7":
version: 20.8.7
resolution: "@types/node@npm:20.8.7"
dependencies:
Expand All @@ -3481,6 +3481,13 @@ __metadata:
languageName: node
linkType: hard

"@types/node@npm:^12.7.1":
version: 12.20.55
resolution: "@types/node@npm:12.20.55"
checksum: e4f86785f4092706e0d3b0edff8dca5a13b45627e4b36700acd8dfe6ad53db71928c8dee914d4276c7fd3b6ccd829aa919811c9eb708a2c8e4c6eb3701178c37
languageName: node
linkType: hard

"@types/normalize-package-data@npm:^2.4.0":
version: 2.4.1
resolution: "@types/normalize-package-data@npm:2.4.1"
Expand Down

0 comments on commit 1d817bc

Please sign in to comment.