mirror of
https://github.com/matrix-org/mjolnir.git
synced 2024-10-01 01:36:06 -04:00
Add script for manual testing with mx-tester
This commit is contained in:
parent
0a6b122f5c
commit
b838caee09
@ -12,7 +12,8 @@
|
|||||||
"lint": "tslint --project ./tsconfig.json -t stylish",
|
"lint": "tslint --project ./tsconfig.json -t stylish",
|
||||||
"start:dev": "yarn build && node lib/index.js",
|
"start:dev": "yarn build && node lib/index.js",
|
||||||
"test": "ts-mocha --project ./tsconfig.json test/**/*.ts",
|
"test": "ts-mocha --project ./tsconfig.json test/**/*.ts",
|
||||||
"test-integration": "NODE_ENV=harness ts-mocha --require test/integration/fixtures.ts --project ./tsconfig.json test/integration/**/*Test.ts"
|
"test:integration": "NODE_ENV=harness ts-mocha --require test/integration/fixtures.ts --project ./tsconfig.json test/integration/**/*Test.ts",
|
||||||
|
"test:manual": "NODE_ENV=harness ts-node test/integration/manualLaunchScript.ts"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/axios": "^0.14.0",
|
"@types/axios": "^0.14.0",
|
||||||
|
@ -15,13 +15,10 @@ limitations under the License.
|
|||||||
*/
|
*/
|
||||||
import {
|
import {
|
||||||
MatrixClient,
|
MatrixClient,
|
||||||
Permalinks,
|
|
||||||
PantalaimonClient,
|
PantalaimonClient,
|
||||||
MemoryStorageProvider
|
MemoryStorageProvider
|
||||||
} from "matrix-bot-sdk";
|
} from "matrix-bot-sdk";
|
||||||
import config from "../../src/config";
|
import config from "../../src/config";
|
||||||
import * as HmacSHA1 from 'crypto-js/hmac-sha1';
|
|
||||||
import axios from 'axios';
|
|
||||||
import * as path from 'path';
|
import * as path from 'path';
|
||||||
import * as fs from 'fs/promises';
|
import * as fs from 'fs/promises';
|
||||||
import { setupMjolnir } from '../../src/setup';
|
import { setupMjolnir } from '../../src/setup';
|
||||||
|
Loading…
Reference in New Issue
Block a user