结论:已将 INI 面板的 OPFS 文本文件读写抽为 host-side file-service,并新增 Node mock 验证,确认 OPFS 边界不进入 WASM core 且可覆盖保存、读取、缺失路径和非法路径行为。
7 lines
148 B
Bash
Executable File
7 lines
148 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
ROOT_DIR="$(cd "$(dirname "$0")/../../.." && pwd)"
|
|
|
|
node "$ROOT_DIR/tests/opfs/node/verify_file_service.mjs"
|