matrix-public-archive/test/server/matrix-utils
..
get-server-name-from-matrix-room-id-or-alias-tests.js