summary refs log tree commit diff
path: root/scripts/stresstest
diff options
context:
space:
mode:
authorMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-09-25 18:24:21 +1000
committerMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-09-25 23:35:18 +1000
commitf44f5d7ac2d24ff836c2e1d4b2fa58da04b13052 (patch)
treea6655c41bb3db79c30fd876b06ee60fe9cf70c9b /scripts/stresstest
parentAllow edited_timestamp to passthrough in handleMessage (diff)
downloadserver-f44f5d7ac2d24ff836c2e1d4b2fa58da04b13052.tar.xz
Refactor to mono-repo + upgrade packages
Diffstat (limited to '')
-rw-r--r--scripts/stresstest/.gitignore (renamed from api/scripts/stresstest/.gitignore)0
-rw-r--r--scripts/stresstest/accounts.json.example (renamed from api/scripts/stresstest/accounts.json.example)0
-rw-r--r--scripts/stresstest/config.json.example (renamed from api/scripts/stresstest/config.json.example)0
-rw-r--r--scripts/stresstest/index.js (renamed from api/scripts/stresstest/index.js)0
-rw-r--r--scripts/stresstest/package-lock.json (renamed from api/scripts/stresstest/package-lock.json)0
-rw-r--r--scripts/stresstest/package.json (renamed from api/scripts/stresstest/package.json)0
-rw-r--r--scripts/stresstest/src/login/index.js (renamed from api/scripts/stresstest/src/login/index.js)2
-rw-r--r--scripts/stresstest/src/message/send.js (renamed from api/scripts/stresstest/src/message/send.js)2
-rw-r--r--scripts/stresstest/src/register/index.js (renamed from api/scripts/stresstest/src/register/index.js)2
9 files changed, 3 insertions, 3 deletions
diff --git a/api/scripts/stresstest/.gitignore b/scripts/stresstest/.gitignore

index bde26fd4..bde26fd4 100644 --- a/api/scripts/stresstest/.gitignore +++ b/scripts/stresstest/.gitignore
diff --git a/api/scripts/stresstest/accounts.json.example b/scripts/stresstest/accounts.json.example
index 61904c5e..61904c5e 100644 --- a/api/scripts/stresstest/accounts.json.example +++ b/scripts/stresstest/accounts.json.example
diff --git a/api/scripts/stresstest/config.json.example b/scripts/stresstest/config.json.example
index 73f52f05..73f52f05 100644 --- a/api/scripts/stresstest/config.json.example +++ b/scripts/stresstest/config.json.example
diff --git a/api/scripts/stresstest/index.js b/scripts/stresstest/index.js
index a9a65097..a9a65097 100644 --- a/api/scripts/stresstest/index.js +++ b/scripts/stresstest/index.js
diff --git a/api/scripts/stresstest/package-lock.json b/scripts/stresstest/package-lock.json
index 81c9b817..81c9b817 100644 --- a/api/scripts/stresstest/package-lock.json +++ b/scripts/stresstest/package-lock.json
diff --git a/api/scripts/stresstest/package.json b/scripts/stresstest/package.json
index 8d94d05b..8d94d05b 100644 --- a/api/scripts/stresstest/package.json +++ b/scripts/stresstest/package.json
diff --git a/api/scripts/stresstest/src/login/index.js b/scripts/stresstest/src/login/index.js
index bd9fea87..96603652 100644 --- a/api/scripts/stresstest/src/login/index.js +++ b/scripts/stresstest/src/login/index.js
@@ -1,6 +1,6 @@ const fetch = require("node-fetch"); const fs = require("fs"); -var config = require("./../../config.json"); +var config = require("../../config.json"); module.exports = login; async function login(account) { var body = { diff --git a/api/scripts/stresstest/src/message/send.js b/scripts/stresstest/src/message/send.js
index 1f8af8aa..d21560d7 100644 --- a/api/scripts/stresstest/src/message/send.js +++ b/scripts/stresstest/src/message/send.js
@@ -1,6 +1,6 @@ const fetch = require("node-fetch"); const fs = require("fs"); -var config = require("./../../config.json"); +var config = require("../../config.json"); module.exports = sendMessage; async function sendMessage(account) { var body = { diff --git a/api/scripts/stresstest/src/register/index.js b/scripts/stresstest/src/register/index.js
index bb6f839f..86f908cd 100644 --- a/api/scripts/stresstest/src/register/index.js +++ b/scripts/stresstest/src/register/index.js
@@ -1,6 +1,6 @@ const fetch = require("node-fetch"); const fs = require("fs"); -var config = require("./../../config.json"); +var config = require("../../config.json"); module.exports = generate; async function generate() { var mail = (Math.random() + 10).toString(36).substring(2);