mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 04:09:49 +00:00
Test CommonJS modules separately
Not sure how to test them as part of Grunt `unit-tests` task as `test/index.html` doesn’t allow for inclusion of CommonJS modules that use `require`. The tests are silently skipped.
This commit is contained in:
@@ -12,7 +12,7 @@
|
|||||||
"main": "main.js",
|
"main": "main.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"postinstall": "electron-builder install-app-deps && rimraf node_modules/dtrace-provider",
|
"postinstall": "electron-builder install-app-deps && rimraf node_modules/dtrace-provider",
|
||||||
"test": "npm run eslint && npm run test-server && grunt test",
|
"test": "npm run eslint && npm run test-server && grunt test && mocha --recursive test/modules",
|
||||||
"lint": "grunt jshint",
|
"lint": "grunt jshint",
|
||||||
"start": "electron .",
|
"start": "electron .",
|
||||||
"asarl": "asar l release/mac/Signal.app/Contents/Resources/app.asar",
|
"asarl": "asar l release/mac/Signal.app/Contents/Resources/app.asar",
|
||||||
|
|||||||
Reference in New Issue
Block a user