mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-09 16:56:36 +02:00
Updates docs and @types/node (#5534)
* 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 c0ea6a62bc
.
---------
Co-authored-by: Dalibor Tosic <dalibortosic00@gmail.com>
Co-authored-by: Nikola <nikolabijelic14@gmail.com>
This commit is contained in:
@@ -95,7 +95,7 @@ This will fix Prettier and Eslint errors.
|
|||||||
|
|
||||||
## Running integration tests
|
## 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
|
## Testing Input Methods
|
||||||
|
|
||||||
|
@@ -125,8 +125,5 @@
|
|||||||
"eslint --fix"
|
"eslint --fix"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"packageManager": "yarn@3.6.4",
|
"packageManager": "yarn@3.6.4"
|
||||||
"resolutions": {
|
|
||||||
"@types/node": "20.8.7"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
import { PlaywrightTestConfig } from '@playwright/test'
|
import { PlaywrightTestConfig } from '@playwright/test'
|
||||||
import { devices } from '@playwright/test'
|
import { devices } from '@playwright/test'
|
||||||
import os from 'os'
|
import * as os from 'os'
|
||||||
|
|
||||||
const projects = [
|
const projects = [
|
||||||
{
|
{
|
||||||
|
@@ -3472,7 +3472,7 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@types/node@npm:20.8.7":
|
"@types/node@npm:*, @types/node@npm:^20.8.7":
|
||||||
version: 20.8.7
|
version: 20.8.7
|
||||||
resolution: "@types/node@npm:20.8.7"
|
resolution: "@types/node@npm:20.8.7"
|
||||||
dependencies:
|
dependencies:
|
||||||
@@ -3481,6 +3481,13 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
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":
|
"@types/normalize-package-data@npm:^2.4.0":
|
||||||
version: 2.4.1
|
version: 2.4.1
|
||||||
resolution: "@types/normalize-package-data@npm:2.4.1"
|
resolution: "@types/normalize-package-data@npm:2.4.1"
|
||||||
|
Reference in New Issue
Block a user