mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-07-26 07:59:48 +03:00
Update tests
This commit is contained in:
parent
ef64cf37c3
commit
46a37ec577
|
@ -22,7 +22,7 @@
|
|||
"test:app": "cross-env BABEL_ENV=test jest test/app",
|
||||
"test:chrome": "jest test/chrome",
|
||||
"test:electron": "pnpm run build:test:electron:fixture && jest test/electron",
|
||||
"test": "pnpm run test:app && pnpm run build:chrome && pnpm run test:chrome && pnpm run test:electron",
|
||||
"test": "pnpm run test:app && pnpm run build:extension && pnpm run build:chrome && pnpm run test:chrome && pnpm run test:electron",
|
||||
"build:test:electron:fixture": "webpack --config test/electron/fixture/webpack.config.js",
|
||||
"type-check": "tsc --noEmit"
|
||||
},
|
||||
|
|
|
@ -5,7 +5,7 @@ import chromedriver from 'chromedriver';
|
|||
import { switchMonitorTests, delay } from '../utils/e2e';
|
||||
|
||||
const port = 9515;
|
||||
const path = resolve(__dirname, '..', '..', 'build', 'extension');
|
||||
const path = resolve(__dirname, '..', '..', 'dist');
|
||||
const extensionId = 'lmhkpmbekcpmknklioeibfkpmmfibljd';
|
||||
const actionsPattern =
|
||||
/^@@INIT(.|\n)+@@reduxReactRouter\/routerDidChange(.|\n)+@@reduxReactRouter\/initRoutes(.|\n)+$/;
|
||||
|
|
|
@ -4,7 +4,7 @@ const { app, BrowserWindow, session } = require('electron');
|
|||
app.on('window-all-closed', app.quit);
|
||||
app.whenReady().then(async () => {
|
||||
await session.defaultSession.loadExtension(
|
||||
path.join(__dirname, '../../../build/extension'),
|
||||
path.join(__dirname, '../../../dist'),
|
||||
{ allowFileAccess: true }
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user