Show queue front icon when shift is pressed (#1157)

* Move shiftDown state to workspaceStateStore

* Queue front state
This commit is contained in:
Chenlei Hu
2024-10-07 19:54:00 -04:00
committed by GitHub
parent 2b26514190
commit 23952d9751
6 changed files with 44 additions and 23 deletions

View File

@@ -45,6 +45,15 @@ module.exports = async function () {
}
})
jest.mock('@/stores/workspaceStateStore', () => {
return {
useWorkspaceStore: () => ({
shiftDown: false,
spinner: false
})
}
})
jest.mock('vue-i18n', () => {
return {
useI18n: jest.fn()