Skip to content

Commit

Permalink
fix(platform-test-sdk): clean platform-test-sdk dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Romakita committed Feb 5, 2023
1 parent de9c013 commit eb52062
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 9 deletions.
6 changes: 5 additions & 1 deletion docs/.vuepress/styles/style.css
Expand Up @@ -24,6 +24,10 @@
}
}

.dropdown-wrapper .nav-dropdown {
max-height: 90vh;
}

.home-link {
@apply underline transition-all;
&:hover {
Expand All @@ -37,4 +41,4 @@
&:hover {
text-decoration: underline;
}
}
}
4 changes: 2 additions & 2 deletions docs/readme.md
Expand Up @@ -68,8 +68,8 @@ sponsors:
href: https://weseek.co.jp/
src: https://avatars.githubusercontent.com/u/6468105?v=4
- title: Underscore tech
href: https://underscore-tech.homerun.co/
src: https://images.opencollective.com/underscore-tech/1d50e46/logo/256.png
href: https://pxr.homerun.co/
src: https://images.opencollective.com/pxr/fe09820/logo/256.png
- title: Partners
class: w-1/3 sm:w-1/6 px-5 py-3
style:
Expand Down
14 changes: 12 additions & 2 deletions packages/platform/platform-test-sdk/package.json
Expand Up @@ -27,11 +27,21 @@
"Adapter"
],
"dependencies": {
"@tsed/ajv": "7.13.3",
"@tsed/common": "7.13.4",
"@tsed/core": "7.13.4",
"@tsed/schema": "7.13.3",
"@tsed/logger": "6.2.2",
"@tsed/platform-router": "7.13.3",
"@tsed/json-mapper": "7.13.3",
"@tsed/platform-params": "7.13.3",
"@tsed/di": "7.13.4",
"@tsed/swagger": "7.13.4"
"@tsed/platform-views": "7.13.3",
"@tsed/platform-cache": "7.13.3",
"@tsed/swagger": "7.13.4",
"ajv": "^8.12.0",
"axios": "^1.3.0"
},
"devDependencies": {},
"peerDependencies": {}
}
}
4 changes: 0 additions & 4 deletions packages/platform/platform-test-sdk/src/tests/testSession.ts
@@ -1,19 +1,15 @@
import {BodyParams, Constant, Controller, Get, PlatformTest, Post, Req, Session} from "@tsed/common";
import {NotFound} from "@tsed/exceptions";
import {Indexed, Unique} from "@tsed/mongoose";
import {Allow, Email, Ignore, MinLength, Property, Required, Returns} from "@tsed/schema";
import SuperTest from "supertest";
import {promisify} from "util";
import {PlatformTestingSdkOpts} from "../interfaces";

export class UserCreation {
@Property()
name: string;

@Indexed()
@Required()
@Email()
@Unique()
@Allow(null)
email: string;

Expand Down

0 comments on commit eb52062

Please sign in to comment.