fix(tests(nanonets)): allow / when normalizing invoice strings in tests
This commit is contained in:
@@ -310,7 +310,7 @@ function extractInvoiceNumber(s: string | undefined): string {
|
||||
const match = clean.match(pattern);
|
||||
if (match) return match[1];
|
||||
}
|
||||
return clean.replace(/[^A-Z0-9-]/gi, '').trim() || clean;
|
||||
return clean.replace(/[^A-Z0-9\/-]/gi, '').trim() || clean;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user