@tsed/platform-test-sdk 8.16.0-rc.2 → 8.16.0-rc.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -14,8 +14,9 @@ export class PlatformTestSdk {
14
14
  });
15
15
  }
16
16
  bootstrap(options = {}) {
17
- return PlatformTest.bootstrap(this.options.server, {
17
+ return PlatformTest.bootstrap({
18
18
  ...this.options,
19
+ rootModule: this.options.server,
19
20
  ...options
20
21
  });
21
22
  }
@@ -1,8 +1,8 @@
1
1
  import { __decorate, __metadata, __param } from "tslib";
2
2
  import { dirname, join } from "node:path";
3
3
  import { Controller } from "@tsed/di";
4
- import { MulterOptions, MultipartFile } from "@tsed/platform-http";
5
4
  import { PlatformTest } from "@tsed/platform-http/testing";
5
+ import { MulterOptions, MultipartFile } from "@tsed/platform-multer";
6
6
  import { BodyParams } from "@tsed/platform-params";
7
7
  import { CollectionOf, Post, Property, Required, Status } from "@tsed/schema";
8
8
  import multer from "multer";
@@ -1,4 +1,4 @@
1
- import { PlatformMulterFile } from "@tsed/platform-http";
1
+ import { PlatformMulterFile } from "@tsed/platform-multer";
2
2
  import { PlatformTestingSdkOpts } from "../interfaces/index.js";
3
3
  export declare class Task {
4
4
  id: string;
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@tsed/platform-test-sdk",
3
3
  "description": "Package to test platform adapter integration with Ts.ED",
4
4
  "type": "module",
5
- "version": "8.16.0-rc.2",
5
+ "version": "8.16.0-rc.4",
6
6
  "source": "./src/index.ts",
7
7
  "main": "./lib/esm/index.js",
8
8
  "module": "./lib/esm/index.js",
@@ -28,25 +28,25 @@
28
28
  "Adapter"
29
29
  ],
30
30
  "dependencies": {
31
- "@tsed/ajv": "8.16.0-rc.2",
32
- "@tsed/core": "8.16.0-rc.2",
33
- "@tsed/di": "8.16.0-rc.2",
34
- "@tsed/json-mapper": "8.16.0-rc.2",
35
- "@tsed/logger": "8.0.0-rc.1",
36
- "@tsed/platform-cache": "8.16.0-rc.2",
37
- "@tsed/platform-http": "8.16.0-rc.2",
38
- "@tsed/platform-params": "8.16.0-rc.2",
39
- "@tsed/platform-router": "8.16.0-rc.2",
40
- "@tsed/platform-views": "8.16.0-rc.2",
41
- "@tsed/schema": "8.16.0-rc.2",
42
- "@tsed/swagger": "8.16.0-rc.2",
31
+ "@tsed/ajv": "8.16.0-rc.4",
32
+ "@tsed/core": "8.16.0-rc.4",
33
+ "@tsed/di": "8.16.0-rc.4",
34
+ "@tsed/json-mapper": "8.16.0-rc.4",
35
+ "@tsed/logger": "8.0.0",
36
+ "@tsed/platform-cache": "8.16.0-rc.4",
37
+ "@tsed/platform-http": "8.16.0-rc.4",
38
+ "@tsed/platform-params": "8.16.0-rc.4",
39
+ "@tsed/platform-router": "8.16.0-rc.4",
40
+ "@tsed/platform-views": "8.16.0-rc.4",
41
+ "@tsed/schema": "8.16.0-rc.4",
42
+ "@tsed/swagger": "8.16.0-rc.4",
43
43
  "ajv": "^8.17.1",
44
44
  "axios": "1.7.7",
45
45
  "read-pkg-up": "7.0.1"
46
46
  },
47
47
  "devDependencies": {
48
- "@tsed/barrels": "8.16.0-rc.2",
49
- "@tsed/typescript": "8.16.0-rc.2",
48
+ "@tsed/barrels": "8.16.0-rc.4",
49
+ "@tsed/typescript": "8.16.0-rc.4",
50
50
  "eslint": "9.12.0",
51
51
  "typescript": "5.4.5"
52
52
  },