Skip to content

Commit 567b1b5

Browse files
committed
chore: use identity-obj-proxy for jest css styles
1 parent f737d36 commit 567b1b5

File tree

41 files changed

+582
-583
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+582
-583
lines changed

__mocks__/style-mock.js

Lines changed: 0 additions & 2 deletions
This file was deleted.

jest.config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"testPathIgnorePatterns": ["<rootDir>/node_modules/"],
77
"transformIgnorePatterns": ["<rootDir>/node_modules/"],
88
"moduleNameMapper": {
9-
"^.+\\.(css|less)$": "<rootDir>/__mocks__/style-mock.js",
9+
"^.+\\.(css|less)$": "identity-obj-proxy",
1010
"^.+\\.(mp3|wav)$": "<rootDir>/__mocks__/sound-mock.js",
1111
"^.+\\.(gif|ttf|eot|svg|png|jpg)$": "<rootDir>/__mocks__/file-mock.js",
1212
"@ciscospark/(.*)": "<rootDir>/packages/node_modules/@ciscospark/$1/src"

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@
121121
"extract-text-webpack-plugin": "^2.0.0",
122122
"file-loader": "^0.11.1",
123123
"html-webpack-plugin": "^2.24.1",
124+
"identity-obj-proxy": "^3.0.0",
124125
"inline-environment-variables-webpack-plugin": "^1.1.0",
125126
"jest": "^20.0.4",
126127
"json-loader": "^0.5.4",

packages/node_modules/@ciscospark/react-component-activity-item-base/src/__snapshots__/index.test.js.snap

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

0 commit comments

Comments
 (0)