const fs=require("fs"),assert=require("assert"); const page=fs.readFileSync("src/app/resetdata/page.tsx","utf8"); const nav=fs.readFileSync("src/components/xingbang/AgentNav.tsx","utf8"); const layout=fs.readFileSync("src/app/resetdata/layout.tsx","utf8"); assert(page.includes('/demo/reset'),"reset page must call the scoped demo reset API"); assert(page.includes('RESET-DEMO-A-B-C'),"reset confirmation must remain explicit"); assert(page.includes('window.confirm'),"reset must have a human confirmation step"); assert(page.includes('window.alert'),"reset result must be visible without adding page controls"); assert((page.match(/