fix(desktop): place private lake modules and sleep idle layers
This commit is contained in:
parent
c2a5c52501
commit
e6d45eaea8
4 changed files with 36 additions and 10 deletions
|
|
@ -7,6 +7,8 @@ const styles = fs.readFileSync(new URL('../src/styles.css', import.meta.url), 'u
|
|||
|
||||
test('ambient lake motion sleeps by default and wakes only after human interaction', () => {
|
||||
assert.match(source, /const \[motionAwake, setMotionAwake\] = useState\(false\)/)
|
||||
assert.match(source, /function LakeAtmosphere\(\{ awake \}: \{ awake: boolean \}\)/)
|
||||
assert.match(source, /\{awake && <div className="world-shimmer"/)
|
||||
assert.match(source, /onPointerMove=\{wakeAmbientMotion\}/)
|
||||
assert.match(source, /onPointerDown=\{wakeAmbientMotion\}/)
|
||||
assert.match(source, /onKeyDown=\{wakeAmbientMotion\}/)
|
||||
|
|
|
|||
|
|
@ -21,10 +21,23 @@ test('the verified Zhizhi route unfolds through her exact private nesting', () =
|
|||
test('the Eternal Lake Heart system body exposes both owned branches before channel tools', () => {
|
||||
assert.match(source, /title="心跳核心频道" meta="冰朔 · 私人频道"/)
|
||||
assert.match(source, /title="爱之核心子系统" meta="责任主体 · 之之"/)
|
||||
assert.match(source, /title="光之湖" meta="人格体居所"/)
|
||||
assert.match(source, /worldStage === 'heartbeat'/)
|
||||
assert.match(source, /<h1>心跳核心频道<\/h1>/)
|
||||
})
|
||||
|
||||
test('knowledge belongs to Heartbeat Core while persona repositories belong to Light Lake', () => {
|
||||
const heartbeatStart = source.indexOf("worldStage === 'heartbeat'")
|
||||
const lightLakeStart = source.indexOf("worldStage === 'lightLake'", heartbeatStart)
|
||||
const toolStart = source.indexOf("worldStage === 'tool'", lightLakeStart)
|
||||
const heartbeat = source.slice(heartbeatStart, lightLakeStart)
|
||||
const lightLake = source.slice(lightLakeStart, toolStart)
|
||||
assert.match(heartbeat, /title="知识空间"/)
|
||||
assert.doesNotMatch(heartbeat, /人格体代码仓库|title="光之湖"/)
|
||||
assert.match(lightLake, /<h1>光之湖<\/h1>/)
|
||||
assert.match(lightLake, /title="人格体代码仓库"/)
|
||||
})
|
||||
|
||||
test('Fifth Domain human numbers are paired with their own login account', () => {
|
||||
assert.match(source, /'ICE-GL∞': 'bingshuo'/)
|
||||
assert.match(source, /'ICE-GL-ZHI∞': 'zhizhi'/)
|
||||
|
|
|
|||
Loading…
Reference in a new issue