add react-express-mysql application sample
Signed-off-by: Anca Iordache <anca.iordache@docker.com>
This commit is contained in:
parent
0d06c37791
commit
43f21f2d8d
46 changed files with 4786 additions and 0 deletions
3
samples/react-express-mysql/frontend/src/test/mocks/imageMock.js
vendored
Executable file
3
samples/react-express-mysql/frontend/src/test/mocks/imageMock.js
vendored
Executable file
|
|
@ -0,0 +1,3 @@
|
|||
// Return an empty string or other mock path to emulate the url that
|
||||
// Webpack provides via the file-loader
|
||||
module.exports = 'mocked-image.jpg';
|
||||
2
samples/react-express-mysql/frontend/src/test/mocks/styleMock.js
vendored
Executable file
2
samples/react-express-mysql/frontend/src/test/mocks/styleMock.js
vendored
Executable file
|
|
@ -0,0 +1,2 @@
|
|||
// Return a Proxy to emulate css modules (if you are using them)
|
||||
module.exports = require('identity-obj-proxy');
|
||||
Loading…
Add table
Add a link
Reference in a new issue