Fixed syntax error in test.

This commit is contained in:
Eden Tyler-Moss 2020-01-31 10:53:42 +00:00
parent 2a5d0b9cc3
commit 167131b270

View File

@ -7,7 +7,7 @@ describe('Realm', () => {
it('should generate a 16-character ID', () => { it('should generate a 16-character ID', () => {
const realm = new Realm(); const realm = new Realm();
expect(realm.generateClientId().length).to.eq(16); expect(realm.generateClientId().length).to.eq(16);
expect(realm.generateClientId(() => 'abcd').to.eq('abcd'); expect(realm.generateClientId(() => 'abcd')).to.eq('abcd');
}); });
}); });