You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-08-09 10:22:46 +03:00
15 lines
308 B
JavaScript
15 lines
308 B
JavaScript
|
|
"use strict";
|
|
var Crypto = require("../../lib/crypto");
|
|
var sdk = require("../..");
|
|
|
|
describe("Crypto", function() {
|
|
if (!sdk.CRYPTO_ENABLED) {
|
|
return;
|
|
}
|
|
|
|
it("Crypto exposes the correct olm library version", function() {
|
|
expect(Crypto.getOlmVersion()[0]).toEqual(2);
|
|
});
|
|
});
|