Changeset View
Changeset View
Standalone View
Standalone View
keyserver/src/utils/olm-utils.test.js
// @flow | // @flow | ||||
import olm from '@matrix-org/olm'; | import olm from '@commapp/olm'; | ||||
import { getOlmUtility } from '../utils/olm-utils.js'; | import { getOlmUtility } from '../utils/olm-utils.js'; | ||||
describe('olm.Account', () => { | describe('olm.Account', () => { | ||||
it('should get Olm Utility', async () => { | it('should get Olm Utility', async () => { | ||||
await olm.init(); | await olm.init(); | ||||
const utility = getOlmUtility(); | const utility = getOlmUtility(); | ||||
expect(utility).not.toBe(undefined); | expect(utility).not.toBe(undefined); | ||||
}); | }); | ||||
}); | }); |