@khanacademy/wonder-blocks-testing 15.0.3 → 15.0.5
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,21 @@
|
|
|
1
1
|
# @khanacademy/wonder-blocks-testing
|
|
2
2
|
|
|
3
|
+
## 15.0.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [0199324d]
|
|
8
|
+
- @khanacademy/wonder-blocks-core@12.0.0
|
|
9
|
+
- @khanacademy/wonder-blocks-data@14.0.7
|
|
10
|
+
|
|
11
|
+
## 15.0.4
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Updated dependencies [7516b239]
|
|
16
|
+
- @khanacademy/wonder-blocks-core@11.1.0
|
|
17
|
+
- @khanacademy/wonder-blocks-data@14.0.6
|
|
18
|
+
|
|
3
19
|
## 15.0.3
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
|
@@ -6,7 +6,7 @@ type Config = Interceptor | Array<Interceptor>;
|
|
|
6
6
|
/**
|
|
7
7
|
* Default configuration for the Wonder Blocks Data adapter.
|
|
8
8
|
*/
|
|
9
|
-
export declare const defaultConfig:
|
|
9
|
+
export declare const defaultConfig: Array<Interceptor>;
|
|
10
10
|
/**
|
|
11
11
|
* Test harness adapter to mock Wonder Blocks Data usage.
|
|
12
12
|
*
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
/// <reference path="../../../../wonder-blocks-testing-core/types/aphrodite.d.ts" />
|
|
2
|
-
/// <reference path="../../../types/aphrodite.d.ts" />
|
|
3
|
-
/// <reference types="react" />
|
|
4
1
|
import type { TestHarnessConfigs } from "@khanacademy/wonder-blocks-testing-core";
|
|
5
2
|
/**
|
|
6
3
|
* NOTE: We do not type `DefaultAdapters` with `Adapters` here because we want
|
|
@@ -13,9 +10,9 @@ import type { TestHarnessConfigs } from "@khanacademy/wonder-blocks-testing-core
|
|
|
13
10
|
export declare const DefaultAdapters: {
|
|
14
11
|
readonly boundary: import("@khanacademy/wonder-blocks-testing-core").TestHarnessAdapter<(error: Error | null | undefined, errorInfo: {
|
|
15
12
|
componentStack: string;
|
|
16
|
-
}) =>
|
|
13
|
+
}) => React.ReactNode>;
|
|
17
14
|
readonly css: import("@khanacademy/wonder-blocks-testing-core").TestHarnessAdapter<string | string[] | import("aphrodite").CSSProperties | {
|
|
18
|
-
classes: string
|
|
15
|
+
classes: Array<string>;
|
|
19
16
|
style: import("aphrodite").CSSProperties;
|
|
20
17
|
}>;
|
|
21
18
|
readonly data: import("@khanacademy/wonder-blocks-testing-core").TestHarnessAdapter<((requestId: string) => Promise<import("@khanacademy/wonder-blocks-data").ValidCacheData> | null | undefined) | ((requestId: string) => Promise<import("@khanacademy/wonder-blocks-data").ValidCacheData> | null | undefined)[]>;
|
|
@@ -24,14 +21,14 @@ export declare const DefaultAdapters: {
|
|
|
24
21
|
initialEntries: import("history").LocationDescriptor<unknown>[] | undefined;
|
|
25
22
|
initialIndex?: number | undefined;
|
|
26
23
|
getUserConfirmation?: ((message: string, callback: (ok: boolean) => void) => void) | undefined;
|
|
27
|
-
path?: string
|
|
24
|
+
path?: string;
|
|
28
25
|
} | {
|
|
29
|
-
location: import("history").LocationDescriptor
|
|
26
|
+
location: import("history").LocationDescriptor;
|
|
30
27
|
forceStatic: true;
|
|
31
|
-
path?: string
|
|
28
|
+
path?: string;
|
|
32
29
|
} | {
|
|
33
|
-
location: import("history").LocationDescriptor
|
|
34
|
-
path?: string
|
|
30
|
+
location: import("history").LocationDescriptor;
|
|
31
|
+
path?: string;
|
|
35
32
|
}>>;
|
|
36
33
|
readonly renderState: import("@khanacademy/wonder-blocks-testing-core").TestHarnessAdapter<true>;
|
|
37
34
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@khanacademy/wonder-blocks-testing",
|
|
3
|
-
"version": "15.0.
|
|
3
|
+
"version": "15.0.5",
|
|
4
4
|
"design": "v1",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@babel/runtime": "^7.18.6",
|
|
18
|
-
"@khanacademy/wonder-blocks-core": "^
|
|
19
|
-
"@khanacademy/wonder-blocks-data": "^14.0.
|
|
18
|
+
"@khanacademy/wonder-blocks-core": "^12.0.0",
|
|
19
|
+
"@khanacademy/wonder-blocks-data": "^14.0.7",
|
|
20
20
|
"@khanacademy/wonder-blocks-testing-core": "^2.0.1"
|
|
21
21
|
},
|
|
22
22
|
"peerDependencies": {
|