-
Notifications
You must be signed in to change notification settings - Fork 135
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #708 from tsa321/mention_extras_fields
Modify mention user and mention report extras field names in ExpensiMark htmlToText and htmlToMarkdown rules
- Loading branch information
Showing
4 changed files
with
11 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -151,7 +151,7 @@ test('Mention user html to text', () => { | |
expect(parser.htmlToText(testString)).toBe('@Hidden'); | ||
|
||
const extras = { | ||
accountIdToName: { | ||
accountIDToName: { | ||
'1234': '[email protected]', | ||
}, | ||
}; | ||
|
@@ -180,7 +180,7 @@ test('Mention report html to text', () => { | |
expect(parser.htmlToText(testString)).toBe('#Hidden'); | ||
|
||
const extras = { | ||
reportIdToName: { | ||
reportIDToName: { | ||
'1234': '#room-name', | ||
}, | ||
}; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -765,7 +765,7 @@ test('Mention user html to markdown', () => { | |
expect(parser.htmlToMarkdown(testString)).toBe('@Hidden'); | ||
|
||
const extras = { | ||
accountIdToName: { | ||
accountIDToName: { | ||
'1234': '[email protected]', | ||
}, | ||
}; | ||
|
@@ -794,7 +794,7 @@ test('Mention report html to markdown', () => { | |
expect(parser.htmlToText(testString)).toBe('#Hidden'); | ||
|
||
const extras = { | ||
reportIdToName: { | ||
reportIDToName: { | ||
'1234': '#room-name', | ||
}, | ||
}; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters