mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-17 23:44:39 -05:00
Fixed emoji tests to use correct input data
This commit is contained in:
parent
df57b8c944
commit
23fd4702a0
1 changed files with 4 additions and 4 deletions
|
@ -8,8 +8,8 @@ describe('Utils', function () {
|
|||
describe('filterEmojiCommits', function () {
|
||||
it('no emoji commits found', function () {
|
||||
const result = lib.utils.filterEmojiCommits([
|
||||
'[f6f35ebcd](https://github.com/TryGhost/Ghost/commit/f6f35ebcd) Version bump to 2.17.1 - Name',
|
||||
'[f6f35ebcd](https://github.com/TryGhost/Ghost/commit/f6f35ebcd) Version bump to 2.17.1 - Name'
|
||||
'1234567890 * [f6f35ebcd](https://github.com/TryGhost/Ghost/commit/f6f35ebcd) Version bump to 2.17.1 - Name',
|
||||
'1234567890 * [f6f35ebcd](https://github.com/TryGhost/Ghost/commit/f6f35ebcd) Version bump to 2.17.1 - Name'
|
||||
]);
|
||||
|
||||
result.length.should.eql(0);
|
||||
|
@ -17,8 +17,8 @@ describe('Utils', function () {
|
|||
|
||||
it('emoji commits found', function () {
|
||||
const result = lib.utils.filterEmojiCommits([
|
||||
'[f6f35ebcd](https://github.com/TryGhost/Ghost/commit/f6f35ebcd) Version bump to 2.17.1 - Name',
|
||||
'[f6f35ebcd](https://github.com/TryGhost/Ghost/commit/f6f35ebcd) 👻 Version bump to 2.17.1 - Name'
|
||||
'1234567890 * [f6f35ebcd](https://github.com/TryGhost/Ghost/commit/f6f35ebcd) Version bump to 2.17.1 - Name',
|
||||
'1234567890 * [f6f35ebcd](https://github.com/TryGhost/Ghost/commit/f6f35ebcd) 👻 Version bump to 2.17.1 - Name'
|
||||
]);
|
||||
|
||||
result.length.should.eql(1);
|
||||
|
|
Loading…
Add table
Reference in a new issue