Merge pull request #769 from webitel/fix/members-uploading #589
Annotations
3 errors and 1 warning
src/modules/_shared/upload-csv-popup/mixins/__tests__/uploadCSVMixin.spec.js > UploadCsvMixin > parsing of csv with multiple columns selected to required field:
src/modules/_shared/upload-csv-popup/mixins/__tests__/uploadCSVMixin.spec.js#L157
AssertionError: expected "spy" to be called with arguments: [ [ { name: 'John', …(1) }, …(1) ] ]
Received:
1st spy call:
Array [
Array [
Object {
"age": Array [
+ "",
"30",
],
"name": "John",
},
Object {
"age": Array [
"25",
+ "",
],
"name": "Jane",
},
],
]
Number of calls: 1
❯ src/modules/_shared/upload-csv-popup/mixins/__tests__/uploadCSVMixin.spec.js:157:26
|
src/modules/_shared/upload-csv-popup/scripts/__tests__/normalizeCSVData.spec.js > normalizeCSVData > succeeds at normalizing data with multiple columns selected to required field,
if one of them is empty:
src/modules/_shared/upload-csv-popup/scripts/__tests__/normalizeCSVData.spec.js#L108
AssertionError: expected [ { name: 'name', …(1) }, …(1) ] to deeply equal [ …(2) ]
- Expected
+ Received
Array [
Object {
"name": "name",
"phone": Array [
"123",
+ "",
],
},
Object {
"name": "name",
"phone": Array [
"123",
"012",
],
},
]
❯ src/modules/_shared/upload-csv-popup/scripts/__tests__/normalizeCSVData.spec.js:108:20
|
test
Process completed with exit code 1.
|
test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|