Skip to content

Commit 73e847f

Browse files
committed
test: add y-prosemirror e2e tests and snapshots
1 parent f0d3112 commit 73e847f

252 files changed

Lines changed: 6187 additions & 4 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

tests/.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# vitest-browser auto-saved debug screenshots on test failure (separate
2+
# from `toMatchScreenshot` reference shots, which use `*-chromium-darwin.png`).
3+
src/browser/**/__screenshots__/**/*-1.png
4+
5+
# vitest-browser attachments (debug artifacts saved during test runs).
6+
.vitest-attachments

tests/package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@
2121
"@types/react": "^19.2.3",
2222
"@types/react-dom": "^19.2.3",
2323
"@vitest/ui": "4.1.5",
24+
"@y/protocols": "^1.0.6-rc.1",
25+
"@y/y": "^14.0.0-rc.17",
2426
"htmlfy": "^0.6.7",
2527
"react": "^19.2.5",
2628
"react-dom": "^19.2.5",
135 KB
134 KB
135 KB
15.5 KB
15.5 KB
15.4 KB
68.1 KB
68.2 KB

0 commit comments

Comments
 (0)