diff options
author | TheArcaneBrony <myrainbowdash949@gmail.com> | 2022-08-19 18:53:25 +0200 |
---|---|---|
committer | TheArcaneBrony <myrainbowdash949@gmail.com> | 2022-08-19 19:07:10 +0200 |
commit | 9071cbdc25e97153086ac48bd389b04c43e56458 (patch) | |
tree | 8b6685ad362f9906fbc7fafcea5d2157c4d8d998 /tests/routes.test.ts | |
parent | Merge remote-tracking branch 'Puyodead1/patch/prettier-config' into staging (diff) | |
download | server-9071cbdc25e97153086ac48bd389b04c43e56458.tar.xz |
Updates scripts and tests from dev/plugins
Diffstat (limited to 'tests/routes.test.ts')
-rw-r--r-- | tests/routes.test.ts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/routes.test.ts b/tests/routes.test.ts index c915fab9..51c068b5 100644 --- a/tests/routes.test.ts +++ b/tests/routes.test.ts @@ -1,13 +1,13 @@ // TODO: check every route based on route() parameters: https://github.com/fosscord/fosscord-server/issues/308 // TODO: check every route with different database engine -import getRouteDescriptions from "../jest/getRouteDescriptions"; -import { join } from "path"; -import fs from "fs"; +import { Channel, Event, events, Guild, User } from "@fosscord/util"; import Ajv from "ajv"; import addFormats from "ajv-formats"; +import fs from "fs"; import fetch from "node-fetch"; -import { Event, User, events, Guild, Channel } from "@fosscord/util"; +import { join } from "path"; +import getRouteDescriptions from "../jest/getRouteDescriptions"; const SchemaPath = join(__dirname, "..", "assets", "schemas.json"); const schemas = JSON.parse(fs.readFileSync(SchemaPath, { encoding: "utf8" })); |