@capillarytech/creatives-library 7.14.25 → 7.14.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -40,6 +40,7 @@ function CapDocumentUpload(props) {
|
|
|
40
40
|
setWhatsappDocParams({
|
|
41
41
|
...whatsappDocParams,
|
|
42
42
|
whatsappDocName: `${name.slice(0, -13)}.pdf`,
|
|
43
|
+
//sliced to show the actual name of the pdf to the user and in the preview, this remove suffix appended to the name on creatives node side
|
|
43
44
|
whatsappDocSize: file_size,
|
|
44
45
|
});
|
|
45
46
|
updateDocumentSrc(secure_file_path, karixFileHandle);
|
|
@@ -35,7 +35,7 @@ describe("test for document upload", () => {
|
|
|
35
35
|
).toBeInTheDocument();
|
|
36
36
|
expect(
|
|
37
37
|
screen.getByText(
|
|
38
|
-
/format: mp4
|
|
38
|
+
/format: mp4/i)
|
|
39
39
|
).toBeInTheDocument();
|
|
40
40
|
expect(
|
|
41
41
|
screen.getByText(/drag and drop video here/i)
|