diff --git a/spec/unit/crypto.spec.js b/spec/unit/crypto.spec.js new file mode 100644 index 000000000..8d652005d --- /dev/null +++ b/spec/unit/crypto.spec.js @@ -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]); + }); +});