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 /yarn.lock | |
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 'yarn.lock')
-rw-r--r-- | yarn.lock | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -1360,6 +1360,7 @@ __metadata: | |||
1360 | "@types/jest": ^27.4.0 | 1360 | "@types/jest": ^27.4.0 |
1361 | jest: ^27.4.7 | 1361 | jest: ^27.4.7 |
1362 | jest-each: ^27.4.6 | 1362 | jest-each: ^27.4.6 |
1363 | type-fest: ^2.11.0 | ||
1363 | languageName: unknown | 1364 | languageName: unknown |
1364 | linkType: soft | 1365 | linkType: soft |
1365 | 1366 | ||
@@ -8984,6 +8985,13 @@ __metadata: | |||
8984 | languageName: node | 8985 | languageName: node |
8985 | linkType: hard | 8986 | linkType: hard |
8986 | 8987 | ||
8988 | "type-fest@npm:^2.11.0": | ||
8989 | version: 2.11.0 | ||
8990 | resolution: "type-fest@npm:2.11.0" | ||
8991 | checksum: 267d8d6d36a87d72a050354b79daf644daed24c9880979bb688d7636dca5afc23dfba616dd0fbccfbbb77cc6511dc312e758cea08ab54160d09fda5ca0ef2eed | ||
8992 | languageName: node | ||
8993 | linkType: hard | ||
8994 | |||
8987 | "typedarray-to-buffer@npm:^3.1.5": | 8995 | "typedarray-to-buffer@npm:^3.1.5": |
8988 | version: 3.1.5 | 8996 | version: 3.1.5 |
8989 | resolution: "typedarray-to-buffer@npm:3.1.5" | 8997 | resolution: "typedarray-to-buffer@npm:3.1.5" |