mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-16 22:27:26 +01:00
* fixes #10173 - Task page search bar only searches task titles, not Notes (#10173) * Fixing unit test: Test expect task to have note, but it has notes.
This commit is contained in:
committed by
Sabe Jones
parent
a6106a801b
commit
21cf5d2321
@@ -145,17 +145,17 @@ describe('Task Column', () => {
|
||||
tasks = [
|
||||
{
|
||||
text: 'Hello world 1',
|
||||
note: '',
|
||||
notes: '',
|
||||
checklist: [],
|
||||
},
|
||||
{
|
||||
text: 'Hello world 2',
|
||||
note: '',
|
||||
notes: '',
|
||||
checklist: [],
|
||||
},
|
||||
{
|
||||
text: 'Generic Task Title',
|
||||
note: '',
|
||||
notes: '',
|
||||
checklist: [
|
||||
{ text: 'Check 1' },
|
||||
{ text: 'Check 2' },
|
||||
@@ -164,7 +164,7 @@ describe('Task Column', () => {
|
||||
},
|
||||
{
|
||||
text: 'Hello world 3',
|
||||
note: 'Generic Task Note',
|
||||
notes: 'Generic Task Note',
|
||||
checklist: [
|
||||
{ text: 'Checkitem 1' },
|
||||
{ text: 'Checkitem 2' },
|
||||
|
||||
Reference in New Issue
Block a user