Skip to content

Commit 4ee63f9

Browse files
committed
fix(react-container-message-composer): Fix failing tests
1 parent 7b4f948 commit 4ee63f9

File tree

5 files changed

+14
-13
lines changed

5 files changed

+14
-13
lines changed

__mocks__/sound-mock.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
// Return an object to emulate sound modules
2+
export default {};

jest.config.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
"transformIgnorePatterns": ["<rootDir>/node_modules/"],
88
"moduleNameMapper": {
99
"^.+\\.(css|less)$": "<rootDir>/__mocks__/style-mock.js",
10+
"^.+\\.(mp3|wav)$": "<rootDir>/__mocks__/sound-mock.js",
1011
"^.+\\.(gif|ttf|eot|svg|png|jpg)$": "<rootDir>/__mocks__/file-mock.js",
1112
"@ciscospark/(.*)": "<rootDir>/packages/node_modules/@ciscospark/$1/src"
1213
},

packages/node_modules/@ciscospark/react-container-message-composer/src/container.js

Lines changed: 0 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/node_modules/@ciscospark/react-container-message-composer/src/index.test.js

Lines changed: 10 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/node_modules/@ciscospark/widget-message-meet/src/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)