Skip to content

Commit

Permalink
Make integration tests run again
Browse files Browse the repository at this point in the history
  • Loading branch information
tadzik committed Jan 6, 2025
1 parent dabe7d3 commit 92afc31
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/utils/harness.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@ export const constructHarness = (): { main: Main } => {
rtm: {
enable: true,
},
mediaProxy: {
signingKeyPath: "tests/utils/signingkey.jwk",
bindPort: 0,
publicUrl: "http://media.proxy"
},
}, reg);
const anyMain = main as any;
anyMain.bridge.getBot = () => ({
Expand Down
10 changes: 10 additions & 0 deletions tests/utils/signingkey.jwk
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"key_ops": [
"sign",
"verify"
],
"ext": true,
"kty": "oct",
"k": "T_C9pH5U0eol0_XSNeba5ANz7RYkx3CYUqKJqRdTmPoIIum51iGngTWsH1VxNcGjLCK2arc_8KQyAKS4cmr7zNvTLZxscmQLldWo835BaXU8khIeLcLmGSs0CmcuSZBHHTIO3up9bd7hZxK4-5KZfxUnYtU0So1u6_0r83WWAE0",
"alg": "HS512"
}

0 comments on commit 92afc31

Please sign in to comment.