You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-12-23 22:42:10 +03:00
Add a test to check the olm version
This commit is contained in:
15
spec/unit/crypto.spec.js
Normal file
15
spec/unit/crypto.spec.js
Normal file
@@ -0,0 +1,15 @@
|
||||
|
||||
"use strict";
|
||||
var Crypto = require("../../lib/crypto");
|
||||
var sdk = require("../..");
|
||||
var testUtils = require("../test-utils");
|
||||
|
||||
describe("Crypto", function() {
|
||||
if (!sdk.CRYPTO_ENABLED) {
|
||||
return;
|
||||
}
|
||||
|
||||
it("Crypto exposes the correct olm library version", function() {
|
||||
expect(Crypto.getOlmVersion()).toEqual([1,3,0]);
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user