aboutsummaryrefslogtreecommitdiffstats
path: root/packages/test-utils/package.json
diff options
context:
space:
mode:
authorLibravatar Kristóf Marussy <kristof@marussy.com>2022-01-27 23:48:07 +0100
committerLibravatar Kristóf Marussy <kristof@marussy.com>2022-02-08 21:43:18 +0100
commit785826a05e99c98aae872b909a833a691e4ae9fa (patch)
treed3c0099516852f312973967c621ac82f4d6b1d41 /packages/test-utils/package.json
parentbuild: Add test-utils package (diff)
downloadsophie-785826a05e99c98aae872b909a833a691e4ae9fa.tar.gz
sophie-785826a05e99c98aae872b909a833a691e4ae9fa.tar.zst
sophie-785826a05e99c98aae872b909a833a691e4ae9fa.zip
test: Add tests for main window hardening
We try to stub/mock the Electron API to make sure the test environment is as close to the runtime environment for this security critical code. Signed-off-by: Kristóf Marussy <kristof@marussy.com>
Diffstat (limited to 'packages/test-utils/package.json')
-rw-r--r--packages/test-utils/package.json3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/test-utils/package.json b/packages/test-utils/package.json
index 9270af2..2f0610a 100644
--- a/packages/test-utils/package.json
+++ b/packages/test-utils/package.json
@@ -12,6 +12,7 @@
12 "dependencies": { 12 "dependencies": {
13 "@types/jest": "^27.4.0", 13 "@types/jest": "^27.4.0",
14 "jest": "^27.4.7", 14 "jest": "^27.4.7",
15 "jest-each": "^27.4.6" 15 "jest-each": "^27.4.6",
16 "type-fest": "^2.11.0"
16 } 17 }
17} 18}