Commit a19bf98
committed
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.
This due to updates to the Intl DatetimeFormatter that generates different outcomes.
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 a19bf98
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