✅ test: 补上待处理请求与页面结构的回归用例

This commit is contained in:
pyh
2026-10-04 19:24:03 +08:00
parent ec8661b317
commit 302e0a8bf5
4 changed files with 153 additions and 69 deletions
+2 -1
View File
@@ -140,7 +140,8 @@ test('applying the plugin registers its three seats without touching the DOM', (
assert.equal(configProps.replayCount(), 0)
// No locale service in this fake context, so the plugin's own translator falls
// back to its English dictionary.
assert.equal(configProps.copy.describeDelivery(null, configProps.fallbackT), 'nothing delivered yet')
assert.equal(configProps.copy.deliveryFacts(null, configProps.fallbackT), null)
assert.equal(configProps.copy.replayValue(0, configProps.fallbackT), 'None')
})
test('the committed artifact is exactly what src/client builds', async (t) => {