Skip to content
File

Blob: src/workerd/api/node/tests/crypto_sign-test.wd-test

885 bytes
1using Workerd = import "/workerd/workerd.capnp";
2 
3const unitTests :Workerd.Config = (
4 services = [
5 ( name = "crypto_sign-test",
6 worker = (
7 modules = [
8 (name = "worker", esModule = embed "crypto_sign-test.js")
9 ],
10 compatibilityFlags = ["nodejs_compat", "nodejs_compat_v2", "experimental"],
11 bindings = [
12 ( name = "rsa_private.pem", text = embed "fixtures/rsa_private.pem" ),
13 ( name = "rsa_public.pem", text = embed "fixtures/rsa_public.pem" ),
14 ( name = "ed25519_private.pem", text = embed "fixtures/ed25519_private.pem" ),
15 ( name = "ed25519_public.pem", text = embed "fixtures/ed25519_public.pem" ),
16 ( name = "dsa_private.pem", text = embed "fixtures/dsa_private.pem" ),
17 ( name = "dsa_public.pem", text = embed "fixtures/dsa_public.pem" ),
18 ],
19 )
20 ),
21 ],
22);