mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-07-27 08:30:02 +03:00
Fix electron fixture
This commit is contained in:
parent
1ba5c25a90
commit
ed620f57be
|
@ -27,8 +27,9 @@
|
|||
"clean": "rimraf build/ && rimraf dev/",
|
||||
"test:app": "cross-env BABEL_ENV=test jest test/app",
|
||||
"test:chrome": "jest test/chrome",
|
||||
"test:electron": "jest test/electron",
|
||||
"test:electron": "yarn run build:test:electron:fixture && jest test/electron",
|
||||
"test": "yarn run test:app && yarn run build:extension && yarn run test:chrome && yarn run test:electron",
|
||||
"build:test:electron:fixture": "webpack --config test/electron/fixture/webpack.config.js",
|
||||
"type-check": "tsc --noEmit"
|
||||
},
|
||||
"dependencies": {
|
||||
|
|
|
@ -8,6 +8,6 @@
|
|||
<span id="counter">0</span>
|
||||
<button id="increment">+</button>
|
||||
<button id="decrement">-</button>
|
||||
<script src="renderer.js"></script>
|
||||
<script src="./dist/renderer.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
10
extension/test/electron/fixture/webpack.config.js
Normal file
10
extension/test/electron/fixture/webpack.config.js
Normal file
|
@ -0,0 +1,10 @@
|
|||
const path = require('path');
|
||||
|
||||
module.exports = {
|
||||
mode: 'development',
|
||||
entry: './test/electron/fixture/src/renderer.js',
|
||||
output: {
|
||||
filename: 'renderer.js',
|
||||
path: path.resolve(__dirname, 'dist'),
|
||||
},
|
||||
};
|
Loading…
Reference in New Issue
Block a user