@capillarytech/creatives-library 7.14.23 → 7.14.24
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
|
@@ -15,7 +15,7 @@ const renderComponent = (props) => render(
|
|
|
15
15
|
|
|
16
16
|
describe("test for document upload", () => {
|
|
17
17
|
const props = {
|
|
18
|
-
allowedExtensionsRegex: (/\.(mp4
|
|
18
|
+
allowedExtensionsRegex: (/\.(mp4)$/i),
|
|
19
19
|
videoSize: 16000000,
|
|
20
20
|
uploadAsset: jest.fn(),
|
|
21
21
|
supportedExtensions: '',
|
|
@@ -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 \(h\.264 video codec and aac audio codec\)/i)
|
|
39
39
|
).toBeInTheDocument();
|
|
40
40
|
expect(
|
|
41
41
|
screen.getByText(/drag and drop video here/i)
|