Place lists #1
@@ -312,8 +312,8 @@ const Places = function (
|
||||
|
||||
async initDefaults(): Promise<void> {
|
||||
const defaults = [
|
||||
{ id: 'to-go', title: 'Want to go', color: '#ff00ff' }, // Magenta
|
||||
{ id: 'to-do', title: 'To do', color: '#008000' }, // Green
|
||||
{ id: 'to-go', title: 'Want to go', color: '#2e9e4f' }, // Green
|
||||
{ id: 'to-do', title: 'To do', color: '#2a7fff' }, // Blue
|
||||
];
|
||||
|
||||
for (const def of defaults) {
|
||||
|
||||
@@ -363,7 +363,7 @@ describe('Places Module', () => {
|
||||
expect.objectContaining({
|
||||
title: 'Want to go',
|
||||
id: 'to-go',
|
||||
color: '#ff00ff',
|
||||
color: '#2e9e4f',
|
||||
})
|
||||
);
|
||||
});
|
||||
@@ -380,7 +380,7 @@ describe('Places Module', () => {
|
||||
expect.objectContaining({
|
||||
title: 'To do',
|
||||
id: 'to-do',
|
||||
color: '#008000',
|
||||
color: '#2a7fff',
|
||||
})
|
||||
);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user