Commit 03c8b12
test: fix error in testing based on node version
When running yarn test locally a different result in contrast to the CI was generated based on the node version installed.
The change occurs between node 17 and 18 due to the unicode package that is used that bumps from 43 to 44.
The changes in question: unicode-org/cldr@ee245ad#diff-13ab47c2c389ca4df107ede5363ddf13de85f9de0553e5560cd3bfada4ec0736R2122
Due to survey results implemented there, some locales changed from d/M format to dd/MM which fails in testing.
Usage of an if statement due to centos9 having a max node version of 16.20 so support is still needed.
Signed-off-by: Jasper Berton <jasper.berton@team.blue>1 parent 901d1e8 commit 03c8b12
1 file changed
Lines changed: 11 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
151 | 151 | | |
152 | 152 | | |
153 | 153 | | |
| 154 | + | |
154 | 155 | | |
155 | 156 | | |
156 | 157 | | |
| |||
180 | 181 | | |
181 | 182 | | |
182 | 183 | | |
183 | | - | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
184 | 189 | | |
185 | 190 | | |
186 | 191 | | |
187 | 192 | | |
188 | 193 | | |
189 | 194 | | |
190 | 195 | | |
191 | | - | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
192 | 201 | | |
193 | 202 | | |
194 | 203 | | |
| |||
0 commit comments