1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-08-06 12:02:40 +03:00

Lint and tests

This commit is contained in:
Kegan Dougal
2015-12-15 15:57:24 +00:00
parent 5719d513b7
commit 65ef1dfd75
2 changed files with 3 additions and 1 deletions

View File

@@ -18,6 +18,7 @@ var utils = require("./utils");
var contentRepo = require("./content-repo");
var Filter = require("./filter");
var SyncApi = require("./sync");
var MatrixError = httpApi.MatrixError;
var SCROLLBACK_DELAY_MS = 3000;
var CRYPTO_ENABLED = false;

View File

@@ -7,6 +7,7 @@ var utils = require("../test-utils");
describe("MatrixClient", function() {
var userId = "@alice:bar";
var identityServerUrl = "https://identity.server";
var identityServerDomain = "identity.server";
var client, store, scheduler;
var PUSH_RULES_RESPONSE = {
@@ -405,7 +406,7 @@ describe("MatrixClient", function() {
path: "/rooms/!foo%3Abar/invite",
data: {},
expectBody: {
id_server: identityServerUrl,
id_server: identityServerDomain,
medium: "email",
address: "alice@gmail.com"
}