Oops, the tests won't work if we don't export the functions

This commit is contained in:
David Baker 2021-01-21 22:42:12 +00:00
parent 0a90c982c7
commit ba45b47240
2 changed files with 5 additions and 3 deletions

View file

@ -18,7 +18,7 @@ import { userToVirtualUser, virtualUserToUser } from '../src/VoipUserMapper';
const templateString = '@_greatappservice_${mxid}:frooble.example';
const realUser = '@alice:boop.example';
const virtualUser = "@_greatappservice_%40alice%3Aboop.example:frooble.example";
const virtualUser = "@_greatappservice_=40alice=3aboop.example:frooble.example";
describe('VoipUserMapper', function() {
it('translates users to virtual users', function() {