Skip to content

Commit 5af8d67

Browse files
committed
fixup! fixup! fixup! fixup! fixup! fixup! fixup! e2e test
1 parent 0f732ae commit 5af8d67

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

tests/features/jimaku.spec.ts

+2-3
Original file line numberDiff line numberDiff line change
@@ -206,9 +206,8 @@ test('测试同传字幕AI总结', { tag: "@scoped" }, async ({ room, content: p
206206
logger.debug('AI Summary:', res)
207207

208208
const maybe = expect.configure({ soft: true })
209-
maybe(res).toContain('日本VTuber')
210-
maybe(res).toContain('直播')
211-
maybe(res).toContain('观众')
209+
maybe(res).toMatch(/|VTuber/)
210+
maybe(res).toContain(/|/)
212211
maybe(res).toContain('麦当劳')
213212
maybe(res).toContain('漫展')
214213
maybe(res).toContain('蟑螂')

0 commit comments

Comments
 (0)