mirror of
https://github.com/sasjs/adapter.git
synced 2026-01-10 13:50:05 +00:00
chore: error improved
This commit is contained in:
@@ -62,7 +62,7 @@ describe('formatDataForRequest', () => {
|
|||||||
|
|
||||||
expect(() => formatDataForRequest(tableWithMissingValues)).toThrow(
|
expect(() => formatDataForRequest(tableWithMissingValues)).toThrow(
|
||||||
new Error(
|
new Error(
|
||||||
'A Special missing value can only be a single character from A to Z or _ or .[a-z] or ._'
|
'A Special missing value can only be a single character from \'A\' to \'Z\', \'_\', \'.[a-z]\', \'._\''
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -134,7 +134,7 @@ export const convertToCSV = (
|
|||||||
if (value && !isSpecialMissing(value)) {
|
if (value && !isSpecialMissing(value)) {
|
||||||
console.log(`🤖[value]🤖`, value)
|
console.log(`🤖[value]🤖`, value)
|
||||||
throw new Error(
|
throw new Error(
|
||||||
'A Special missing value can only be a single character from A to Z or _ or .[a-z] or ._'
|
'A Special missing value can only be a single character from \'A\' to \'Z\', \'_\', \'.[a-z]\', \'._\''
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user