Skip to content

Commit 61a5956

Browse files
author
Konstantinos Bairaktaris
committed
Fix tests
1 parent 176c9c0 commit 61a5956

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

packages/cli/test/api/extract.hashedkeys.test.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -158,12 +158,12 @@ describe('extractPhrases with hashed keys', () => {
158158
string: 'Text 5',
159159
meta: { context: [], tags: [], occurrences: ['react.jsx'] },
160160
},
161-
'404d0c0fef510bc89da7bc58ef160ccc': {
162-
string: 'Text <1> 6 </1>',
161+
'121b687b8625b4e58ba7f36dca77ad7f': {
162+
string: 'Text <1>6</1>',
163163
meta: { context: [], tags: [], occurrences: ['react.jsx'] },
164164
},
165-
'4f5fe2d7356c474bd2f4c03176c6bc45': {
166-
string: 'Text <1> <2> 7 </2> </1>',
165+
'3ed8a3c47f6a32ece9c9ae0c2a060d45': {
166+
string: 'Text <1><2>7</2></1>',
167167
meta: { context: [], tags: [], occurrences: ['react.jsx'] },
168168
},
169169
'1ecaf4c087b894bf86987fc2972ddba7': {

packages/cli/test/api/extract.sourcekeys.test.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -151,12 +151,12 @@ describe('extractPhrases with source keys', () => {
151151
string: 'Text 5',
152152
meta: { context: [], tags: [], occurrences: ['react.jsx'] },
153153
},
154-
'Text <1> 6 </1>': {
155-
string: 'Text <1> 6 </1>',
154+
'Text <1>6</1>': {
155+
string: 'Text <1>6</1>',
156156
meta: { context: [], tags: [], occurrences: ['react.jsx'] },
157157
},
158-
'Text <1> <2> 7 </2> </1>': {
159-
string: 'Text <1> <2> 7 </2> </1>',
158+
'Text <1><2>7</2></1>': {
159+
string: 'Text <1><2>7</2></1>',
160160
meta: { context: [], tags: [], occurrences: ['react.jsx'] },
161161
},
162162
'Text 8::foo': {

0 commit comments

Comments
 (0)