Fix tests, see #1943

This commit is contained in:
Pieter Vander Vennet 2024-05-06 11:13:27 +02:00
parent 12fc6d7d9d
commit 4b49a08914

View file

@ -183,7 +183,7 @@ export class Denomination {
}
function substr(key) {
if (this.prefix) {
if (self.prefix) {
return value.substring(key.length).trim()
}
let trimmed = value.substring(0, value.length - key.length).trim()