{"slug":"bluelovers-test-js-mock","source_name":"bluelovers/test-js-mock","name":"Bluelovers/Test Js Mock","description":"使用 Jest 模擬 Node.js 內建模組（如 fs、path 等）的技能。當測試需要隔離檔案系統操作或進行安全的測試時使用此技能。啟動條件：(1) Mock fs 模組 / Mock fs module (2) Jest Mock 檔案系統 / Jest Mock file system (3) 模擬 Node.js 內建模組 / Mock Node.js built-in modules (4) jest.mock 使用教學 / jest.mock usage guide (5) 使用 memfs-extra 模擬 fs / Use memfs-extra to mock fs (6) 記憶體檔案系統測試 / In-memory file system testing (7) Mock fs 測試 / Mock fs test (8) 隔離檔案系統測試 / Isolated file system testing (9) 安全的檔案系統操作 / Safe file system operations (10) Jest 虛擬檔案 / Jest virtual file syst","version":1,"lift":{"pass_rate_delta_pts":36,"pass_rate_pct":72,"total_cases":25,"passed_cases":18,"tokens_delta_pct":130.7,"turns_delta_pct":0,"verdict":"mixed","benchmark_model":"gemini-3.6-flash","grading_method":"judged","completed_at":"2026-08-03T04:43:19.274684+00:00"},"skill_score":0.72,"benchmark_models":[{"model":"gemini-3.6-flash","headline":true,"delta_pts":36,"with_pass_pct":72,"without_pass_pct":36,"tokens_delta_pct":130.7,"turns_delta_pct":0,"total_cases":25,"cases_aggregated":25,"verdict":"mixed","never_hurt":false,"completed_at":"2026-08-03T04:43:19.274684+00:00","run_id":"0ab65baf-9905-49eb-81b5-6ed5e4fc63ef","version_number":1,"is_latest_version":true,"gate":null}],"trust":{"skill_safety":"passed","safety_status":"clean","intent_verdict":"safe","content_status":"clean","indexable":true},"license":null,"install_count":0,"manifest_hash":"2f3b5b1a7cace3019e039ce9d241f33e984b2b1ee9d87efc72ad5869942d14d7","raw_url":"https://app.decimal.ai/s/bluelovers-test-js-mock/SKILL.md","scorecard_url":"https://app.decimal.ai/skills/bluelovers-test-js-mock"}