@flink-app/test-utils 2.0.0-alpha.71 → 2.0.0-alpha.72

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
@@ -1,5 +1,11 @@
1
1
  # @flink-app/test-utils
2
2
 
3
+ ## 2.0.0-alpha.72
4
+
5
+ ### Patch Changes
6
+
7
+ - fix(test-utils): accept typed FlinkApp instances in init() by casting internally
8
+
3
9
  ## 2.0.0-alpha.71
4
10
 
5
11
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flink-app/test-utils",
3
- "version": "2.0.0-alpha.71",
3
+ "version": "2.0.0-alpha.72",
4
4
  "description": "Test utils for Flink",
5
5
  "author": "joel@frost.se",
6
6
  "license": "MIT",
@@ -23,7 +23,7 @@
23
23
  "jasmine-ts": "^0.3.3",
24
24
  "ts-node": "^10.9.2",
25
25
  "tsc-watch": "^4.2.9",
26
- "@flink-app/flink": "2.0.0-alpha.71"
26
+ "@flink-app/flink": "2.0.0-alpha.72"
27
27
  },
28
28
  "gitHead": "4243e3b3cd6d4e1ca001a61baa8436bf2bbe4113",
29
29
  "scripts": {
package/src/http.ts CHANGED
@@ -35,7 +35,7 @@ export type HttpOpts = {
35
35
  * Must be invoked prior to using test HTTP methods.
36
36
  */
37
37
  export function init<C extends FlinkContext<any>>(_app: FlinkApp<C>, host = "localhost") {
38
- app = _app;
38
+ app = _app as unknown as FlinkApp<any>;
39
39
  baseUrl = `http://${host}:${app.port}`;
40
40
  }
41
41