diff --git a/.husky/commit-msg b/.husky/commit-msg
old mode 100644
new mode 100755
index c160a77..f446fb0
--- a/.husky/commit-msg
+++ b/.husky/commit-msg
@@ -2,3 +2,4 @@
. "$(dirname -- "$0")/_/husky.sh"
npx --no -- commitlint --edit ${1}
+npm run test
\ No newline at end of file
diff --git a/tests/index.test.js b/tests/index.test.js
index 1d591f4..5f7dd74 100644
--- a/tests/index.test.js
+++ b/tests/index.test.js
@@ -463,6 +463,17 @@ describe( 'Instagram Stories test', () => {
} );
+ it( 'Should work with empty array', async () => {
+
+ render( );
+
+ } );
+
it( 'Should work with video & default duration', async () => {
const { getByTestId } = render( );
@@ -520,6 +531,8 @@ describe( 'Story Image test', () => {
it( 'Should work if story already loaded', async () => {
+ jest.spyOn(Reanimated, 'useSharedValue').mockImplementation((value) => ({ value: value === true ? false : value }));
+
const onLoad = jest.fn();
render(