mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-26 11:17:04 +08:00
fix(crypto): error expectation
This commit is contained in:
@ -580,6 +580,7 @@ export class SubtleCrypto {
|
|||||||
default:
|
default:
|
||||||
reject(
|
reject(
|
||||||
new Error(
|
new Error(
|
||||||
|
// @ts-expect-error
|
||||||
`'subtle.generateKey()' is not implemented for ${algorithm?.name}.
|
`'subtle.generateKey()' is not implemented for ${algorithm?.name}.
|
||||||
Unrecognized algorithm name`,
|
Unrecognized algorithm name`,
|
||||||
),
|
),
|
||||||
|
Reference in New Issue
Block a user