diff options
author | Vincent Petry <vincent@nextcloud.com> | 2021-05-10 19:25:37 +0300 |
---|---|---|
committer | Vincent Petry <vincent@nextcloud.com> | 2021-05-11 15:44:43 +0300 |
commit | cd5823a8b531665f259b603a30ef4fd9eafe8421 (patch) | |
tree | fd60213aeb6deb419fbf2aeceeec30a125ee91b7 /src/test-setup.js | |
parent | 732a53bcc7d8dff0e068ed8b1ae23aeba8c547a4 (diff) |
Add JS tests for MessagesList.vue
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Diffstat (limited to 'src/test-setup.js')
-rw-r--r-- | src/test-setup.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test-setup.js b/src/test-setup.js index 9854337dd..1370b5644 100644 --- a/src/test-setup.js +++ b/src/test-setup.js @@ -44,6 +44,8 @@ global.OCA = { Talk: { }, } + +// TODO: use nextcloud-l10n lib once https://github.com/nextcloud/nextcloud-l10n/issues/271 is solved global.t = jest.fn().mockImplementation((app, text) => text) global.n = jest.fn().mockImplementation((app, text) => text) |