diff options
author | Kristóf Marussy <kristof@marussy.com> | 2022-01-27 23:48:07 +0100 |
---|---|---|
committer | Kristóf Marussy <kristof@marussy.com> | 2022-02-08 21:43:18 +0100 |
commit | 785826a05e99c98aae872b909a833a691e4ae9fa (patch) | |
tree | d3c0099516852f312973967c621ac82f4d6b1d41 /packages/test-utils/package.json | |
parent | build: Add test-utils package (diff) | |
download | sophie-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.json | 3 |
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 | } |