// Type on the headset: where people find it, the T key, and copying the headset's clipboard. // Production page code with only browser and transport boundaries replaced; no headset. const test=require('node:test'); const assert=require('node:assert/strict'); const cc=require('../ui/control-center.js'); const {workspaceFixture,html}=require('./workspace_fixture.cjs'); const between=(from,to)=>{const start=html.indexOf(from),end=html.indexOf(to,start);assert.ok(start>=0&&end>start,from);return html.slice(start,end);}; const section=id=>between(`id="${id}"`,''); test('Home, the Right now card and the Tools directory all name it Type on the headset',()=>{ const home=between('data-page="home"','data-page="capture"'); assert.match(home,/Type on the headset<\/span>Keyboard, trackpad and clipboard<\/small>/); assert.match(home,/