@blocksuite/virgo
Advanced tools
Comparing version 0.4.0 to 0.4.1-20230219164430-614cf52
@@ -529,8 +529,23 @@ import { expect, test } from '@playwright/test'; | ||
expect(await editorB.innerText()).toBe('abc\ndef\nghi'); | ||
/** | ||
* abc | ||
* def | ||
* |ghi | ||
*/ | ||
await page.keyboard.press('ArrowLeft'); | ||
await page.keyboard.press('ArrowLeft'); | ||
await page.keyboard.press('ArrowLeft'); | ||
/** | ||
* |abc | ||
* def | ||
* |ghi | ||
*/ | ||
await page.keyboard.down('Shift'); | ||
await page.keyboard.press('ArrowUp'); | ||
await page.keyboard.press('ArrowUp'); | ||
/** | ||
* a|bc | ||
* def | ||
* |ghi | ||
*/ | ||
await page.keyboard.press('ArrowRight'); | ||
@@ -537,0 +552,0 @@ await page.keyboard.press('Backspace'); |
{ | ||
"name": "@blocksuite/virgo", | ||
"version": "0.4.0", | ||
"version": "0.4.1-20230219164430-614cf52", | ||
"description": "A micro editor.", | ||
@@ -26,3 +26,3 @@ "main": "dist/index.js", | ||
"dependencies": { | ||
"@blocksuite/global": "0.4.0", | ||
"@blocksuite/global": "0.4.1-20230219164430-614cf52", | ||
"zod": "^3.20.6" | ||
@@ -29,0 +29,0 @@ }, |
@@ -638,2 +638,7 @@ import { expect, test } from '@playwright/test'; | ||
/** | ||
* abc | ||
* def | ||
* |ghi | ||
*/ | ||
await page.keyboard.press('ArrowLeft'); | ||
@@ -643,5 +648,16 @@ await page.keyboard.press('ArrowLeft'); | ||
/** | ||
* |abc | ||
* def | ||
* |ghi | ||
*/ | ||
await page.keyboard.down('Shift'); | ||
await page.keyboard.press('ArrowUp'); | ||
await page.keyboard.press('ArrowUp'); | ||
/** | ||
* a|bc | ||
* def | ||
* |ghi | ||
*/ | ||
await page.keyboard.press('ArrowRight'); | ||
@@ -648,0 +664,0 @@ await page.keyboard.press('Backspace'); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
245214
3537
+ Added@blocksuite/global@0.4.1-20230219164430-614cf52(transitive)
- Removed@blocksuite/global@0.4.0(transitive)