fix(chat): support code block copy feedback (#349)
This commit is contained in:
@@ -24,6 +24,10 @@ import type { Message } from '@/stores/hermes/chat'
|
||||
describe('MessageItem tool details', () => {
|
||||
beforeEach(() => {
|
||||
setActivePinia(createPinia())
|
||||
Object.defineProperty(window, 'isSecureContext', {
|
||||
configurable: true,
|
||||
value: true,
|
||||
})
|
||||
Object.defineProperty(navigator, 'clipboard', {
|
||||
configurable: true,
|
||||
value: {
|
||||
|
||||
Reference in New Issue
Block a user