Page MenuHomePhabricator

D7027.id23590.diff
No OneTemporary

D7027.id23590.diff

diff --git a/web/olm/olm.test.js b/web/olm/olm.test.js
new file mode 100644
--- /dev/null
+++ b/web/olm/olm.test.js
@@ -0,0 +1,11 @@
+// @flow
+
+import olm from '@matrix-org/olm';
+
+describe('olm.Account', () => {
+ it('should construct an empty olm.Account', async () => {
+ await olm.init();
+ const account = new olm.Account();
+ expect(account).not.toBe(undefined);
+ });
+});
diff --git a/web/package.json b/web/package.json
--- a/web/package.json
+++ b/web/package.json
@@ -85,7 +85,7 @@
},
"jest": {
"roots": [
- "<rootDir>/utils"
+ "<rootDir>"
],
"transform": {
"\\.js$": "babel-jest"

File Metadata

Mime Type
text/plain
Expires
Thu, Jan 9, 1:06 PM (1 h, 43 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2835221
Default Alt Text
D7027.id23590.diff (645 B)

Event Timeline