From c7210b9e9d0dd604834cb3e515dd83faaa69926b Mon Sep 17 00:00:00 2001 From: Richard van der Hoff <1389908+richvdh@users.noreply.github.com> Date: Thu, 19 Jan 2023 12:20:21 +0000 Subject: [PATCH] Rename some of the .spec files which test crypto (#3077) * `matrix-client-crypto.spec.ts` only tested a very specific bit of crypto (olm encryption). It goes back to the very early days, before Megolm was invented. I've renamed it to `olm-encryption-spec.ts`. * `megolm-integ.spec.ts` is more of a general crypto test; it was just called `megolm` to distinguish it from the Olm tests above. Renamed to `crypto.spec.ts`. --- spec/integ/{megolm-integ.spec.ts => crypto.spec.ts} | 0 .../{matrix-client-crypto.spec.ts => olm-encryption-spec.ts} | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename spec/integ/{megolm-integ.spec.ts => crypto.spec.ts} (100%) rename spec/integ/{matrix-client-crypto.spec.ts => olm-encryption-spec.ts} (99%) diff --git a/spec/integ/megolm-integ.spec.ts b/spec/integ/crypto.spec.ts similarity index 100% rename from spec/integ/megolm-integ.spec.ts rename to spec/integ/crypto.spec.ts diff --git a/spec/integ/matrix-client-crypto.spec.ts b/spec/integ/olm-encryption-spec.ts similarity index 99% rename from spec/integ/matrix-client-crypto.spec.ts rename to spec/integ/olm-encryption-spec.ts index 326b8578b..ee9c33486 100644 --- a/spec/integ/matrix-client-crypto.spec.ts +++ b/spec/integ/olm-encryption-spec.ts @@ -22,7 +22,7 @@ limitations under the License. * * Note that megolm (group) conversation is not tested here. * - * See also `megolm.spec.js`. + * See also `crypto.spec.js`. */ // load olm before the sdk if possible