You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-08-06 12:02:40 +03:00
Appease the linter
This commit is contained in:
@@ -287,7 +287,7 @@ describe("utils", function() {
|
|||||||
it('should calculate the appropriate string from numbers', () => {
|
it('should calculate the appropriate string from numbers', () => {
|
||||||
// Verify the whole alphabet
|
// Verify the whole alphabet
|
||||||
for (let i = BigInt(1); i <= DEFAULT_ALPHABET.length; i++) {
|
for (let i = BigInt(1); i <= DEFAULT_ALPHABET.length; i++) {
|
||||||
console.log({i}); // for debugging
|
logger.log({ i }); // for debugging
|
||||||
expect(baseToString(i)).toEqual(DEFAULT_ALPHABET[Number(i) - 1]);
|
expect(baseToString(i)).toEqual(DEFAULT_ALPHABET[Number(i) - 1]);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -325,8 +325,8 @@ describe("utils", function() {
|
|||||||
|
|
||||||
describe('averageBetweenStrings', () => {
|
describe('averageBetweenStrings', () => {
|
||||||
it('should average appropriately', () => {
|
it('should average appropriately', () => {
|
||||||
console.log(stringToBase(" "));
|
logger.log(stringToBase(" "));
|
||||||
console.log(stringToBase("!!"));
|
logger.log(stringToBase("!!"));
|
||||||
expect(averageBetweenStrings(" ", "!!")).toEqual(" P");
|
expect(averageBetweenStrings(" ", "!!")).toEqual(" P");
|
||||||
expect(averageBetweenStrings('A', 'z')).toEqual(']');
|
expect(averageBetweenStrings('A', 'z')).toEqual(']');
|
||||||
expect(averageBetweenStrings('a', 'z', "abcdefghijklmnopqrstuvwxyz")).toEqual('m');
|
expect(averageBetweenStrings('a', 'z', "abcdefghijklmnopqrstuvwxyz")).toEqual('m');
|
||||||
|
Reference in New Issue
Block a user