mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-01-23 02:36:05 +00:00
fix: update GlobalConfigService mock to use 'tasks' instead of 'misc' for notes template
This commit is contained in:
parent
a27fff8a2f
commit
f0e2e12984
1 changed files with 6 additions and 6 deletions
|
|
@ -68,8 +68,8 @@ describe('FocusModeMainComponent', () => {
|
|||
storeSpy.select.and.returnValue(of([]));
|
||||
|
||||
const globalConfigServiceSpy = jasmine.createSpyObj('GlobalConfigService', [], {
|
||||
misc: jasmine.createSpy().and.returnValue({
|
||||
taskNotesTpl: 'Default task notes template',
|
||||
tasks: jasmine.createSpy().and.returnValue({
|
||||
notesTemplate: 'Default task notes template',
|
||||
}),
|
||||
});
|
||||
|
||||
|
|
@ -586,8 +586,8 @@ describe('FocusModeMainComponent - notes panel (issue #5752)', () => {
|
|||
storeSpy.select.and.returnValue(of([]));
|
||||
|
||||
const globalConfigServiceSpy = jasmine.createSpyObj('GlobalConfigService', [], {
|
||||
misc: jasmine.createSpy().and.returnValue({
|
||||
taskNotesTpl: 'Default task notes template',
|
||||
tasks: jasmine.createSpy().and.returnValue({
|
||||
notesTemplate: 'Default task notes template',
|
||||
}),
|
||||
});
|
||||
|
||||
|
|
@ -772,8 +772,8 @@ describe('FocusModeMainComponent - sync with tracking (issue #6009)', () => {
|
|||
storeSpy.select.and.returnValue(of([]));
|
||||
|
||||
const globalConfigServiceSpy = jasmine.createSpyObj('GlobalConfigService', [], {
|
||||
misc: jasmine.createSpy().and.returnValue({
|
||||
taskNotesTpl: 'Default task notes template',
|
||||
tasks: jasmine.createSpy().and.returnValue({
|
||||
notesTemplate: 'Default task notes template',
|
||||
}),
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue