fix(editor): flaky import notion html image unit test (#12354)

<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit

- **Chores**
  - Added a new development dependency to improve testing capabilities.

- **Tests**
  - Refactored image handling tests to use enhanced HTTP request mocking, improving test reliability and maintainability.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
donteatfriedrice
2025-05-19 04:53:56 +00:00
parent 4e37a1322e
commit 76a8bf2834
3 changed files with 71 additions and 38 deletions
+5 -4
View File
@@ -4193,6 +4193,7 @@ __metadata:
"@blocksuite/store": "workspace:*"
"@blocksuite/sync": "workspace:*"
"@vanilla-extract/vite-plugin": "npm:^5.0.0"
msw: "npm:^2.8.4"
rxjs: "npm:^7.8.1"
vitest: "npm:3.1.3"
languageName: unknown
@@ -27098,9 +27099,9 @@ __metadata:
languageName: node
linkType: hard
"msw@npm:^2.6.8":
version: 2.8.2
resolution: "msw@npm:2.8.2"
"msw@npm:^2.6.8, msw@npm:^2.8.4":
version: 2.8.4
resolution: "msw@npm:2.8.4"
dependencies:
"@bundled-es-modules/cookie": "npm:^2.0.1"
"@bundled-es-modules/statuses": "npm:^1.0.1"
@@ -27127,7 +27128,7 @@ __metadata:
optional: true
bin:
msw: cli/index.js
checksum: 10/7579a8dccb8cc8eb0f13d0bf3a232a3d50a478511d95bc2a4b70778e78ffa28fd0949a855fbceb6ec381bbf76f6331a6d36fcb4a3197ff5bf55d0f14a7f3b35c
checksum: 10/f94108a15dc64c37edd949cf1f321142940e3032367d977e79faab57fb3fd559988fadc1d491cb933441c23300796dd2a64fb7d886d537485f1e607d28a64536
languageName: node
linkType: hard