From c0c7720c9819ea80b573104c6ede7377d550d77d Mon Sep 17 00:00:00 2001 From: Matthijs van der Burgh Date: Sat, 22 Jan 2022 23:39:22 +0100 Subject: [PATCH] Update testWithSpectron to testWithPlaywright In the 3.0.0-alpha.3 release the entire if statement was commented out. That resulted in the mocha test not running. By uncommenting the code and updating it to PlayWright I got my mocha tests running. --- lib/webpackConfig.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/webpackConfig.js b/lib/webpackConfig.js index 0ec36446..b1c29e88 100644 --- a/lib/webpackConfig.js +++ b/lib/webpackConfig.js @@ -55,8 +55,8 @@ async function chainWebpack (api, pluginOptions, config) { .use('shebang') .loader('shebang-loader') config.externals({ - 'vue-cli-plugin-electron-builder/lib/testWithSpectron': - 'require("vue-cli-plugin-electron-builder/lib/testWithSpectron")', + 'vue-cli-plugin-electron-builder/lib/testWithPlaywright': + 'require("vue-cli-plugin-electron-builder/lib/testWithPlaywright")', 'vue-cli-plugin-electron-builder': 'require("vue-cli-plugin-electron-builder")' })