Missing node dialog revamp (#322)

* Basic rework of load workflow warning dialog

* Better style

* Add vue jest support

* Mock vue component in jest test

* nit

* Make dialog maximizable
This commit is contained in:
Chenlei Hu
2024-08-06 20:11:05 -04:00
committed by GitHub
parent 6fe2297cc1
commit 79469bd2b1
10 changed files with 599 additions and 55 deletions

View File

@@ -12,4 +12,10 @@ module.exports = async function () {
HTMLCanvasElement.prototype.getContext = nop
localStorage['Comfy.Settings.Comfy.Logging.Enabled'] = 'false'
jest.mock('@/services/dialogService', () => {
return {
showLoadWorkflowWarning: jest.fn()
}
})
}