From 237b0f2942e11eb0c369a5780cf7c03b2013d8a5 Mon Sep 17 00:00:00 2001 From: MillenniumEarl Date: Wed, 10 Mar 2021 15:13:23 +0100 Subject: [PATCH] Ad main index for tests --- test/index.ts | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 test/index.ts diff --git a/test/index.ts b/test/index.ts new file mode 100644 index 0000000..287c62f --- /dev/null +++ b/test/index.ts @@ -0,0 +1,25 @@ +"use strict"; + +// Import suites +import { suite as credentials } from "./classes/credentials"; +import { suite as prefixParser } from "./classes/prefix-parser"; +import { suite as platformUser } from "./classes/mapping/platform-user"; +import { suite as post } from "./classes/mapping/post"; +import { suite as thread } from "./classes/mapping/thread"; +import { suite as userProfile } from "./classes/mapping/user-profile"; + +describe("Test basic function", function testBasic() { + //#region Set-up + + this.timeout(30000); // All tests in this suite get 30 seconds before timeout + + //#endregion Set-up + + // describe("Test network helper", network.bind(this)); + describe("Test Credentials", credentials.bind(this)); + describe("Test PrefixParser", prefixParser.bind(this)); + describe("Test PlatformUser", platformUser.bind(this)); + describe("Test Post", post.bind(this)); + describe("Test Thread", thread.bind(this)); + describe("Test UserProfile", userProfile.bind(this)); +});