@rsdk/testing 3.1.0-next.2 → 3.2.0-next.0

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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,16 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [3.2.0-next.0](https://github.com/R-Vision/rsdk/compare/v3.1.0...v3.2.0-next.0) (2023-08-09)
7
+
8
+ ### Features
9
+
10
+ * **http.server:** split to package by implementation @rsdk/http.server.{fastify,express} ([f3cdad1](https://github.com/R-Vision/rsdk/commit/f3cdad1c7372d2bfbaee21d91973d5354cebf46c))
11
+
12
+ ## [3.1.0](https://github.com/R-Vision/rsdk/compare/v3.1.0-next.3...v3.1.0) (2023-08-09)
13
+
14
+ **Note:** Version bump only for package @rsdk/testing
15
+
6
16
  ## [3.1.0-next.2](https://github.com/R-Vision/rsdk/compare/v3.1.0-next.1...v3.1.0-next.2) (2023-08-08)
7
17
 
8
18
  **Note:** Version bump only for package @rsdk/testing
@@ -27,7 +27,8 @@ class PlatformTestingModule {
27
27
  */
28
28
  async createNestApplication() {
29
29
  const context = this.context;
30
- const app = this.compiledTestingModule.createNestApplication(...context.getNestFactoryCreateOptions());
30
+ const createOptions = await context.getNestFactoryCreateOptions();
31
+ const app = this.compiledTestingModule.createNestApplication(...createOptions);
31
32
  await context.configureApp(app);
32
33
  return app;
33
34
  }
@@ -1 +1 @@
1
- {"version":3,"file":"platform-testing-module.js","sourceRoot":"","sources":["../src/platform-testing-module.ts"],"names":[],"mappings":";;;AAgBA;;;;GAIG;AACH,MAAa,qBAAqB;IAEtB;IACA;IAFV,YACU,qBAAoC,EACpC,OAAwB;QADxB,0BAAqB,GAArB,qBAAqB,CAAe;QACpC,YAAO,GAAP,OAAO,CAAiB;QAEhC,IAAI,CAAC,GAAG,GAAG,IAAI,CAAC,qBAAqB,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,qBAAqB,CAAC,CAAC;QAC3E,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,qBAAqB,CAAC,OAAO,CAAC,IAAI,CACpD,IAAI,CAAC,qBAAqB,CAC3B,CAAC;QACF,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,qBAAqB,CAAC,KAAK,CAAC,IAAI,CAChD,IAAI,CAAC,qBAAqB,CAC3B,CAAC;IACJ,CAAC;IAED,KAAK,CAAC,IAAI;QACR,MAAM,IAAI,CAAC,qBAAqB,CAAC,IAAI,EAAE,CAAC;QACxC,OAAO,IAAI,CAAC;IACd,CAAC;IAED;;;;OAIG;IACH,KAAK,CAAC,qBAAqB;QAGzB,MAAM,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC;QAE7B,MAAM,GAAG,GAAG,IAAI,CAAC,qBAAqB,CAAC,qBAAqB,CAC1D,GAAG,OAAO,CAAC,2BAA2B,EAAE,CACzC,CAAC;QAEF,MAAM,OAAO,CAAC,YAAY,CAAC,GAAG,CAAC,CAAC;QAChC,OAAO,GAAG,CAAC;IACb,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,KAAK,CAAC,KAAK;QAGT,MAAM,GAAG,GAAG,MAAM,IAAI,CAAC,qBAAqB,EAAK,CAAC;QAElD,MAAM,IAAI,CAAC,OAAO,CAAC,wBAAwB,CAAC,GAAmB,CAAC,CAAC;QACjE,OAAO,GAAG,CAAC;IACb,CAAC;CACF;AA1DD,sDA0DC"}
1
+ {"version":3,"file":"platform-testing-module.js","sourceRoot":"","sources":["../src/platform-testing-module.ts"],"names":[],"mappings":";;;AAgBA;;;;GAIG;AACH,MAAa,qBAAqB;IAEtB;IACA;IAFV,YACU,qBAAoC,EACpC,OAAwB;QADxB,0BAAqB,GAArB,qBAAqB,CAAe;QACpC,YAAO,GAAP,OAAO,CAAiB;QAEhC,IAAI,CAAC,GAAG,GAAG,IAAI,CAAC,qBAAqB,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,qBAAqB,CAAC,CAAC;QAC3E,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,qBAAqB,CAAC,OAAO,CAAC,IAAI,CACpD,IAAI,CAAC,qBAAqB,CAC3B,CAAC;QACF,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,qBAAqB,CAAC,KAAK,CAAC,IAAI,CAChD,IAAI,CAAC,qBAAqB,CAC3B,CAAC;IACJ,CAAC;IAED,KAAK,CAAC,IAAI;QACR,MAAM,IAAI,CAAC,qBAAqB,CAAC,IAAI,EAAE,CAAC;QACxC,OAAO,IAAI,CAAC;IACd,CAAC;IAED;;;;OAIG;IACH,KAAK,CAAC,qBAAqB;QAGzB,MAAM,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC;QAE7B,MAAM,aAAa,GAAG,MAAM,OAAO,CAAC,2BAA2B,EAAE,CAAC;QAClE,MAAM,GAAG,GAAG,IAAI,CAAC,qBAAqB,CAAC,qBAAqB,CAC1D,GAAG,aAAa,CACjB,CAAC;QAEF,MAAM,OAAO,CAAC,YAAY,CAAC,GAAG,CAAC,CAAC;QAChC,OAAO,GAAG,CAAC;IACb,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,KAAK,CAAC,KAAK;QAGT,MAAM,GAAG,GAAG,MAAM,IAAI,CAAC,qBAAqB,EAAK,CAAC;QAElD,MAAM,IAAI,CAAC,OAAO,CAAC,wBAAwB,CAAC,GAAmB,CAAC,CAAC;QACjE,OAAO,GAAG,CAAC;IACb,CAAC;CACF;AA3DD,sDA2DC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rsdk/testing",
3
- "version": "3.1.0-next.2",
3
+ "version": "3.2.0-next.0",
4
4
  "license": "Apache License 2.0",
5
5
  "main": "dist/index.js",
6
6
  "publishConfig": {
@@ -10,7 +10,7 @@
10
10
  "@nestjs/common": "^10.1.3",
11
11
  "@nestjs/core": "^10.1.3",
12
12
  "@nestjs/testing": "^10.1.3",
13
- "@rsdk/core": "^3.1.0-next.2"
13
+ "@rsdk/core": "^3.2.0-next.0"
14
14
  },
15
- "gitHead": "28db120cf1b53317241e1b14d936eae785723601"
15
+ "gitHead": "3f8a9154e6c7a67dbf38b9985876e41717ed5117"
16
16
  }
@@ -48,8 +48,9 @@ export class PlatformTestingModule {
48
48
  >(): Promise<PlatformTestNestApplication<T>> {
49
49
  const context = this.context;
50
50
 
51
+ const createOptions = await context.getNestFactoryCreateOptions();
51
52
  const app = this.compiledTestingModule.createNestApplication<T>(
52
- ...context.getNestFactoryCreateOptions(),
53
+ ...createOptions,
53
54
  );
54
55
 
55
56
  await context.configureApp(app);