@tramvai/test-unit 2.149.1 → 2.150.1

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.
@@ -1,3 +1,4 @@
1
+ /// <reference types="node" />
1
2
  import { createApp } from '@tramvai/core';
2
3
  type Options = Partial<Parameters<typeof createApp>[0]> & {
3
4
  env?: Record<string, string>;
@@ -21,3 +22,4 @@ export declare const createTestApp: ({ name, bundles, providers, modules, action
21
22
  close: () => import("http").Server<typeof import("http").IncomingMessage, typeof import("http").ServerResponse>;
22
23
  }>;
23
24
  export {};
25
+ //# sourceMappingURL=createTestApp.d.ts.map
@@ -1,3 +1,4 @@
1
+ /// <reference types="node" />
1
2
  import type { PromiseType } from 'utility-types';
2
3
  import type { App } from '@tramvai/core';
3
4
  /**
@@ -27,3 +28,4 @@ export declare const testApp: (appOrAppPromise: App | Promise<App>) => Promise<{
27
28
  close: () => import("http").Server<typeof import("http").IncomingMessage, typeof import("http").ServerResponse>;
28
29
  }>;
29
30
  export type TestAppResult = PromiseType<ReturnType<typeof testApp>>;
31
+ //# sourceMappingURL=testApp.d.ts.map
package/lib/index.d.ts CHANGED
@@ -3,3 +3,4 @@ export { testReducer } from './state/testReducer';
3
3
  export { testModule } from './module/testModule';
4
4
  export { createTestApp } from './app/createTestApp';
5
5
  export { testApp } from './app/testApp';
6
+ //# sourceMappingURL=index.d.ts.map
@@ -33,3 +33,4 @@ export declare const testModule: (Module: ModuleType | ExtendedModule, { modules
33
33
  })) => Promise<any[]>;
34
34
  };
35
35
  export {};
36
+ //# sourceMappingURL=testModule.d.ts.map
@@ -17,3 +17,4 @@ interface Runner<Params extends any[], Result> {
17
17
  export declare function testAction<Params extends any[], Result, Deps>(action: TramvaiAction<Params, Result, Deps>, options?: Options): Runner<Params, Result>;
18
18
  export declare function testAction<Payload, Result, Deps>(action: Action<Payload, Result, Deps>, options?: Options): Runner<[Payload], Result>;
19
19
  export {};
20
+ //# sourceMappingURL=testAction.d.ts.map
@@ -7,3 +7,4 @@ export declare const testReducer: <T = any>(reducer: Reducer<T, string, any>) =>
7
7
  dispatch: <Payload>(eventOrType: string | import("@tramvai/state").Event<Payload>, payload?: Payload | undefined) => Payload;
8
8
  getState: () => T;
9
9
  };
10
+ //# sourceMappingURL=testReducer.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tramvai/test-unit",
3
- "version": "2.149.1",
3
+ "version": "2.150.1",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "typings": "lib/index.d.ts",
@@ -17,21 +17,21 @@
17
17
  "watch": "tsc -w"
18
18
  },
19
19
  "dependencies": {
20
- "@tramvai/cli": "2.149.1",
21
- "@tramvai/core": "2.149.1",
22
- "@tramvai/module-common": "2.149.1",
23
- "@tramvai/module-log": "2.149.1",
24
- "@tramvai/module-metrics": "2.149.1",
25
- "@tramvai/module-mocker": "2.149.1",
26
- "@tramvai/module-render": "2.149.1",
27
- "@tramvai/module-router": "2.149.1",
28
- "@tramvai/module-server": "2.149.1",
29
- "@tramvai/state": "2.149.1",
30
- "@tramvai/test-helpers": "2.149.1",
31
- "@tramvai/test-mocks": "2.149.1",
32
- "@tramvai/tokens-common": "2.149.1",
33
- "@tramvai/tokens-server": "2.149.1",
34
- "@tramvai/tokens-server-private": "2.149.1",
20
+ "@tramvai/cli": "2.150.1",
21
+ "@tramvai/core": "2.150.1",
22
+ "@tramvai/module-common": "2.150.1",
23
+ "@tramvai/module-log": "2.150.1",
24
+ "@tramvai/module-metrics": "2.150.1",
25
+ "@tramvai/module-mocker": "2.150.1",
26
+ "@tramvai/module-render": "2.150.1",
27
+ "@tramvai/module-router": "2.150.1",
28
+ "@tramvai/module-server": "2.150.1",
29
+ "@tramvai/state": "2.150.1",
30
+ "@tramvai/test-helpers": "2.150.1",
31
+ "@tramvai/test-mocks": "2.150.1",
32
+ "@tramvai/tokens-common": "2.150.1",
33
+ "@tramvai/tokens-server": "2.150.1",
34
+ "@tramvai/tokens-server-private": "2.150.1",
35
35
  "utility-types": "^3.10.0"
36
36
  },
37
37
  "peerDependencies": {