From 23fd4702a014f5b5730b75ef89f090a16ca400ab Mon Sep 17 00:00:00 2001 From: Fabien O'Carroll Date: Wed, 13 Mar 2019 16:02:52 +0100 Subject: [PATCH] Fixed emoji tests to use correct input data --- ghost/release-utils/test/utils.test.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ghost/release-utils/test/utils.test.js b/ghost/release-utils/test/utils.test.js index 2a6a04c698..b5e1a1c9a8 100644 --- a/ghost/release-utils/test/utils.test.js +++ b/ghost/release-utils/test/utils.test.js @@ -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);