Skip to content

Commit

Permalink
chore(plugin-webpack): fix test script (#2015)
Browse files Browse the repository at this point in the history
* chore(plugin-webpack): fix description
  • Loading branch information
malept committed Oct 30, 2020
1 parent 654d10f commit 903a43c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 4 additions & 2 deletions .mocharc.json → .mocharc.js
@@ -1,8 +1,10 @@
{
const path = require('path')

module.exports = {
"require": [
"ts-node/register",
"@babel/register",
"./tools/test-setup.ts"
path.join(__dirname, "tools", "test-setup.ts")
],
"timeout": 800000,
"recursive": true
Expand Down
4 changes: 2 additions & 2 deletions packages/plugin/webpack/package.json
@@ -1,14 +1,14 @@
{
"name": "@electron-forge/plugin-webpack",
"version": "6.0.0-beta.54",
"description": "Webpack plugin for Electron Forge, let's you use a webpack directly in your tooling",
"description": "Webpack plugin for Electron Forge, lets you use Webpack directly in your tooling",
"repository": "https://github.com/electron-userland/electron-forge",
"author": "Samuel Attard",
"license": "MIT",
"main": "dist/WebpackPlugin.js",
"typings": "dist/WebpackPlugin.d.ts",
"scripts": {
"test": "mocha --require ts-node/register test/**/*_spec.ts test/**/**/*_spec.ts --opts ../../../mocha.opts"
"test": "mocha --config ../../../.mocharc.js test/**/*_spec.ts test/**/**/*_spec.ts"
},
"devDependencies": {
"@types/node": "^14.14.2",
Expand Down

0 comments on commit 903a43c

Please sign in to comment.