🚀(app-impress) create the base app impress
Create the base app impress, based on the people app.
This commit is contained in:
16
src/frontend/apps/impress/jest/mocks/fileMock.js
Normal file
16
src/frontend/apps/impress/jest/mocks/fileMock.js
Normal file
@@ -0,0 +1,16 @@
|
||||
module.exports = {
|
||||
src: '/img.jpg',
|
||||
height: 40,
|
||||
width: 40,
|
||||
blurDataURL: 'data:image/png;base64,imagedata',
|
||||
};
|
||||
|
||||
if (
|
||||
(typeof exports.default === 'function' ||
|
||||
(typeof exports.default === 'object' && exports.default !== null)) &&
|
||||
typeof exports.default.__esModule === 'undefined'
|
||||
) {
|
||||
Object.defineProperty(exports.default, '__esModule', { value: true });
|
||||
Object.assign(exports.default, exports);
|
||||
module.exports = exports.default;
|
||||
}
|
||||
3
src/frontend/apps/impress/jest/mocks/svg.js
Normal file
3
src/frontend/apps/impress/jest/mocks/svg.js
Normal file
@@ -0,0 +1,3 @@
|
||||
const nameMock = 'svg';
|
||||
export default nameMock;
|
||||
export const ReactComponent = 'svg';
|
||||
Reference in New Issue
Block a user